Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Custom Indexing with eclipse
Custom Indexing with eclipse [message #251639] Wed, 27 February 2008 05:31 Go to next message
Eclipse UserFriend
Originally posted by: dhruv.techie.gmail.com

Hi ,

I want to implement a custom indexing capability for a specific type
of project entities , so that searching with in workspace becomes
faster. I want to implement similar to what eclipse does for help
indexing .
Is eclipse allow any such support. I am not sure whether this is
correct forum .

regards
dhruv
Re: Custom Indexing with eclipse [message #251643 is a reply to message #251639] Wed, 27 February 2008 13:39 Go to previous message
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

Hey There,

This may be more a platform question. I think the JDT uses its internal
knowledge of things (the AST) to do fast searches. I have always wanted
to take advantage of the embedded Lucene engine to index the workspace
like (I think) you are suggesting - I have just never found the time to
get started. You would have to write your own analyzers, and ideally hook
it all up to a generic builder that would be wired to Lucene. Basically,
do something similar to OpenGrok but on your workspace, ideally making it
extensible so people could hook in their own analyzers.

Is this what you were thinking of? I think the answer to your question,
however, is that it is doable but you are looking at a lot of work. There
is nothing like this in the platform as far as I can tell.

You could do something a little less ambitious, however. Have a look at
the org.eclipse.search.textSearchEngine and
org.eclipse.search.textSearchQueryProvider extension points.

Mark.


On Wed, 27 Feb 2008 05:31:54 -0500, Dhruv <dhruv.techie@gmail.com> wrote:

> Hi ,
>
> I want to implement a custom indexing capability for a specific type
> of project entities , so that searching with in workspace becomes
> faster. I want to implement similar to what eclipse does for help
> indexing .
> Is eclipse allow any such support. I am not sure whether this is
> correct forum .
>
> regards
> dhruv
Previous Topic:Adding Content to PackageExplorer
Next Topic:Indexing sources - every time I reopen project
Goto Forum:
  


Current Time: Wed May 07 04:33:49 EDT 2025

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

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

Back to the top