Don't know if anyone else has been building QueryFilter extensions,
but here's a quick question. In the filter method that needs to be
implemented as part of the QueryFilter interface, the method looks
like this:

public BooleanQuery filter(Query input, BooleanQuery translation)

Query is a Nutch class and BooleanQuery is a Lucene class, and as far
as I can tell, there isn't a straightforward way to make them talk to
each other.

However, BooleanQuery uses a Lucene class called Query... am I missing
something simple to convert the Nutch Query to a Lucene Query?

No examples to help either :( The plugins that come with v0.5 use the
RawFieldQueryFilter...

Thanks in advance,
Andrew


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to