[ https://issues.apache.org/jira/browse/NUTCH-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494499 ]
Trond Andersen commented on NUTCH-470: -------------------------------------- The reason for this patch is that I don't know the whole query at once and would like to add more elements to the Query object as I explore relevant search terms. The practical result is that if I create a Query object with "java" as a term, then I would like to add weblogic. This patch result in the toString() method to return "java weblogic" as the string representation of the Query. I don't think this equals to the Lucene search terms. > Adding optional terms to a query > -------------------------------- > > Key: NUTCH-470 > URL: https://issues.apache.org/jira/browse/NUTCH-470 > Project: Nutch > Issue Type: Wish > Components: searcher > Affects Versions: 0.9.0 > Environment: Any > Reporter: Trond Andersen > Priority: Minor > Attachments: optional.patch > > > I'm missing API to add optional terms in the query class. Made a small > adjustment to the API to support this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. ------------------------------------------------------------------------- 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-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers