lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "LuceneFAQ" by FrankRalphReiser
Date Thu, 13 Mar 2008 11:06:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by FrankRalphReiser:
http://wiki.apache.org/lucene-java/LuceneFAQ

The comment on the change is:
"How can I index java source files?"

------------------------------------------------------------------------------
  Most importantly, do not try to index JSPs by treating them as normal files in your file
system.  In order to index JSPs properly you need to access them via HTTP, acting like a Web
client.
  
  
+ ==== How can I index java source files? ====
+ 
+ There is an article at http://www.onjava.com/pub/a/onjava/2006/01/18/using-lucene-to-search-java-source.html
+ Note that the article uses an older version of apache lucene. For parsing the java source
files, the ASTParser of the eclipse framework is used.
+ 
+ 
  ==== If I use a compound file-style index, can I still optimize my index? ====
  
  Yes.  Each .cfs file created in the compound file-style index represents a single segment,
which means you can still merge multiple segments into a single segment by optimizing the
index.

Mime
View raw message