[jira] Created: (NUTCH-470) Adding optional terms to a query

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NUTCH-470) Adding optional terms to a query

Tim Allison (Jira)
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


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.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NUTCH-470) Adding optional terms to a query

Tim Allison (Jira)

     [ https://issues.apache.org/jira/browse/NUTCH-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trond Andersen updated NUTCH-470:
---------------------------------

    Attachment: optional.patch

A small patch making it possible to add optional terms to the Query object

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (NUTCH-470) Adding optional terms to a query

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

    [ https://issues.apache.org/jira/browse/NUTCH-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494496 ]

Ronny Næss commented on NUTCH-470:
----------------------------------

Hi, Trond.

Optional meaning does that mean?
I would like more Lucene based query's with possibility for query's like "fieldname1:term1 fieldname2:term2 ......" (Se http://lucene.apache.org/java/docs/queryparsersyntax.html). Is that what this is?

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (NUTCH-470) Adding optional terms to a query

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

    [ 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.