lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Lucene search in URL
Date Sun, 20 Sep 2009 23:12:29 GMT
> Thanks for all the Help.
> I've now implemented a modified Version of Ahmet Arslan's
> Idea and it works.

Great to hear that! 

Doing query iteration programatically will be faster than making it with ShingleFilter.

Since you don't care about scores, you can enhance your search time complexity. You need only
Boolean Retrieval (true or false) so can omit term freq. and length norm. and index time boosting
etc in your fields.

Using Field.Index.ANALYZED_NO_NORMS in constructor.

Secondly there is a discussion about disabling score calculation completely. It is stated

"As of 2.9 (not yet released) the new Collector API allows you to skip
scoring entirely and just collect the doc IDs matching the query." [1].

If you made these modifications, your search will be even faster and storage space - required
in the index - will decrease.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message