Skip to main content



      Home
Home » Modeling » EMF » EMF query and index(How to index attributes in EMF query?)
EMF query and index [message #684284] Wed, 15 June 2011 07:02 Go to next message
Eclipse UserFriend
Hi,

EMF query2 provides support for indexing EObject type and references between EObjects. The "EMF index" project provides support for indexing attributes of EObjects, but only has rudimentary query support.

Are there plans to merge the EMF query2 and EMF index projects? In my opinion, query2 should be able to index attributes, and EMF index needs better query support like in EMF query2!

What can I do, if I need attribute indexes in EMF query2?

Thank you in advance!

Greetings,
André

[Updated on: Wed, 15 June 2011 07:04] by Moderator

Re: EMF query and index [message #684356 is a reply to message #684284] Wed, 15 June 2011 09:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi André,

Yes you are right in your points.

There had been discussions going on to merge EMF Index and Query2.
But unfortunately due to some reasons it did not happen.One of the reasons being
lack of community interest.

Right now with Query2 you can index an attribute named 'name'. We can provide some APIs to index
an attribute of user's choice if you want.Right now the Index is called as a 'Slim Index'.

Indexing attributes would mean having a full indexing behaviour.We have this thing in plan for Query2.
But again due to lack of time this has not come as a priority.

cheers,
Saurav
Re: EMF query and index [message #684361 is a reply to message #684356] Wed, 15 June 2011 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Saurav,

thank you for the instant reply!

We are building an application heavily based on EMF. I wonder how other such projects cannot require comprehensive indexing support.

Making the indexed attribute customisable is a good start, thank you.
I suppose, contributions for making the index less "slim" are welcome. So if we extend the indexes in Query2, I will let you know.

Greetings,
André
Re: EMF query and index [message #684366 is a reply to message #684361] Wed, 15 June 2011 09:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi André,

Yes most projects require index.Its just that they sometimes are unaware of the advantage they get by having the index.

It would be good if you wish to extend Query2 indexes and moreover if you would like to contribute them back.
Meanwhile if you need any help just let us know.

Cheers,
Saurav
Re: EMF query and index [message #684454 is a reply to message #684366] Wed, 15 June 2011 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I dream of a world where JDT, PDT, etc. use EMF, so we can merge all indexing/query techniques into one project. Why do we always have to reinvent the stuff?

With EMF as the foundation of Eclipse projects, M2M transformations etc. would be easy to integrate, without discovery steps/MWE workflows etc.
Even the Java Editor might be Xtext based, after the generic part of the JDT Java editor was merged into Xtext.

I think, models drive software development. So why not understand everything we touch with Eclipse as an interconnected EMF based model...

Sorry, if I am somewhat off topic.

Greetings,
André
Re: EMF query and index [message #687204 is a reply to message #684284] Wed, 15 June 2011 08:44 Go to previous messageGo to next message
Eclipse UserFriend
André,

The Xtext folks worked on an index as did the Query2 folks. There was
some effort a while back into merging the two approaches as part of the
EMF index project, but changes to the Query2 team seems to have stalled
that effort. I.e., EMF Index appears to be going nowhere.


Andr wrote:
> Hi,
>
> EMF query2 provides support for indexing EObject type and references
> between EObjects. The "EMF index" project provides support for
> indexing attributes of EObjects, but only has rudimentary query support.
>
> Are there plans to merge the EMF query2 and EMF index projects? In my
> opinion, query2 should be able to index attributes, and EMF index
> needs better query support like in EMF query2!
>
> What can I do, if I need attribute indexes in EMF query2?
>
> Thank for in advance!
>
> Greetings,
> André
Re: EMF query and index [message #687209 is a reply to message #684454] Wed, 15 June 2011 13:02 Go to previous message
Eclipse UserFriend
Andr,

Yes, that would be very nice. Many people feel this way. :-)

The MoDisco project has a nice Java model...


Andr wrote:
> Hi,
>
> I dream of a world where JDT, PDT, etc. use EMF, so we can merge all
> indexing/query techniques into one project. Why do we always have to
> reinvent the stuff?
>
> With EMF as the foundation of Eclipse projects, M2M transformations
> etc. would be easy to integrate, without discovery steps/MWE workflows
> etc.
> Even the Java Editor might be Xtext based, after the generic part of
> the JDT Java editor was merged into Xtext.
>
> I think, models drive software development. So why not understand
> everything we touch with Eclipse as an interconnected EMF based model...
>
> Sorry, if I am somewhat off topic.
>
> Greetings,
> André
Re: EMF query and index [message #687482 is a reply to message #684454] Wed, 15 June 2011 13:02 Go to previous message
Eclipse UserFriend
Andr,

Yes, that would be very nice. Many people feel this way. :-)

The MoDisco project has a nice Java model...


Andr wrote:
> Hi,
>
> I dream of a world where JDT, PDT, etc. use EMF, so we can merge all
> indexing/query techniques into one project. Why do we always have to
> reinvent the stuff?
>
> With EMF as the foundation of Eclipse projects, M2M transformations
> etc. would be easy to integrate, without discovery steps/MWE workflows
> etc.
> Even the Java Editor might be Xtext based, after the generic part of
> the JDT Java editor was merged into Xtext.
>
> I think, models drive software development. So why not understand
> everything we touch with Eclipse as an interconnected EMF based model...
>
> Sorry, if I am somewhat off topic.
>
> Greetings,
> André
Previous Topic:(no subject)
Next Topic:Reuse Modisco's genmodel
Goto Forum:
  


Current Time: Thu Jul 17 02:41:24 EDT 2025

Powered by FUDForum. Page generated in 0.04176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top