Hello,

I just would like to confirm that the version of the search() method
shown in the previous post works fine, at least regarding boolean
queries. Anyway, I see no reason why it wouldn't work with any other
Lucene query (fuzzy, proximity, etc.).

Now, please be warned that the inclusion of this new method in
IndexSearcher has quite an impact on some other classes: besides
NutchBean, where you'll need to add the wrapper methods that will
allow its use there, you'll also need to add the new method signature
to the Searcher interface, which is implemented by IndexSearcher.

Since DistributedSearch implements the Searcher interface as well,
you'll need to provide there a method with the new siganature.
Besides, depending on your needs, Summarizer and Query will demand
some changes in order to preserve phrases (composite search terms)
when they are highlighted in the summary.

Let me remind you that all this must be done just to provide something
that's already there: Nutch is built on top of Lucene, after all. If
it's hard to understand why Lucene's capabilities were simply
neutralized in Nutch, it's even harder to figure out why no choice was
left to users by means of some configuration file.

Regards,

Cristina

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to