Hi,
I'm trying to add a new query filter. I've already added a new field to the
index, which is stored and tokenized. For each document I've a set of
keywords, I updated the index as follows:
doc.add(new Field("keywords", "keyword1,keyword2,keyword3", Field.Store.YES,
Field.Index.TOKENIZED));
Using Luke, I can see that the field is created successfully. I can see the
top terms of the 'keywords' field, and even search using keywords:keyword1.
At the next phase, I created query-keywords which is copied from query-site.
I was able to compile and deploy the plugin successfully, however when I try
to search using the web interface I get no hits. When I print the query just
before Nutch send it to Lucene I can see that my plugin has been run. I give
the query 'keywords:keyword1' and nutch converts it to '+keywords:keyword1^
2.0' and send it to Lucene (my query plugin adds a boost of 2.0) . Using
luke, I can retrieve results for '+keywords:keyword1^2.0'. What can be the
problem? Thanks for the help
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general