Michael Böckling wrote:
Yes Nutch uses a Query class different then lucene. The query is also
parsed differently,
What nutch does basically is that, nutch parses the query with
Query.parse, then it runs
all the query plugins, which convert the nutch query to
lucene boolean
query. Then this lucene
query is sent to index servers, which uses lucene's searchers.
Does that mean that Nutch will choke on "original Lucene" search queries?
Since the same query is (in my case) fed to both Nutch for the static
content and Lucene for the dynamic stuff, that wouldn't work well, i'm
afraid.
No, you do not actually need to use nutch's Query classes. But you need
to do some extra work in the index servers.
I do not know your architecture, but i assume that you need to modify
IndexSearcher to take Boolean query instead of
org.apache.nutch.searcher.Query
- My working environment for the current search is Java
1.4.2 and Lucene
2.1. I guess I have to use Nutch 0.8 (since 0.9 switched to
Java 1.5) and
hope it can cope with the newer Lucene version?
Nutch 0.9 uses lucene 2.1.
Yes, but Nutch 0.9 requires Java 5, and unfortunately I have to stick with
1.4.2.
Greetings and thanks a lot,
Michael
-------------------------------------------------------------------------
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