You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Trond Andersen <tr...@gmail.com> on 2007/04/23 15:40:48 UTC

Optional terms

The Query class does include methods for adding required terms and
prohibited terms, but the class doesn't expose the possibility to add
optional terms. I guess that this is a deliberate decision, but
personally I'm not able to see why.

I have a wiki page which includes a label mechanism and I would like
to add those labels to the Query object - but I don't think that they
should be made required. Is there a easy way in the API to add these
as optional terms?


----- Trond Andersen