List Info

Thread: Created: (NUTCH-479) Support for OR queries




Created: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-05-07 14:15:15
Support for OR queries
----------------------

                 Key: NUTCH-479
                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
             Project: Nutch
          Issue Type: Improvement
          Components: searcher
    Affects Versions: 1.0.0
            Reporter: Andrzej Bialecki 
         Assigned To: Andrzej Bialecki 
             Fix For: 1.0.0


There have been many requests from users to extend Nutch
query syntax to add support for OR queries, in addition to
the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


Updated: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-05-07 14:18:15
     [ https://issues.apache.org/jira/browse/NUTCH-479?page=com.at
lassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Bialecki  updated NUTCH-479:
------------------------------------

    Attachment: or.patch

Patch based on the discussion on the mailing list, and a
description provided by Nguien Ngoc Giang. There's a bug in
this patch - when OR is used inside a phrase a parse
exception is thrown. I'm not a JavaCC wizard, so I didn't
know how to fix it.

> Support for OR queries
> ----------------------
>
>                 Key: NUTCH-479
>                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>         Assigned To: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: or.patch
>
>
> There have been many requests from users to extend
Nutch query syntax to add support for OR queries, in
addition to the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


Updated: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-05-09 15:32:15
     [
HTTPS://ISSUES.APACHE.ORG/JIRA/BROWSE/NUTCH-479?PAGE=COM.ATL
ASSIAN.JIRA.PLUGIN.SYSTEM.ISSUETABPANELS:ALL-TABPANEL ]

NICOLáS LICHTMAIER UPDATED NUTCH-479:
-------------------------------------


THIS PATCH DOESN'T SEEM TO ADD SUPPORT FOR NESTED CLAUSES
LIKE THIS:

"GREENHOUSE EFFECT" OR ( CLIMATE AND CHANGE )

I DON'T KNOW IF THIS FULL BOOLEAN LOGIC SUPPORT IS
IMPORTANT. BUT I'VE BEEN ASKED TO IMPLEMENT IT HERE... =(

> SUPPORT FOR OR QUERIES
> ----------------------
>
>                 KEY: NUTCH-479
>                 URL:
HTTPS://ISSUES.APACHE.ORG/JIRA/BROWSE/NUTCH-479
>             PROJECT: NUTCH
>          ISSUE TYPE: IMPROVEMENT
>          COMPONENTS: SEARCHER
>    AFFECTS VERSIONS: 1.0.0
>            REPORTER: ANDRZEJ BIALECKI 
>         ASSIGNED TO: ANDRZEJ BIALECKI 
>             FIX FOR: 1.0.0
>
>         ATTACHMENTS: OR.PATCH
>
>
> THERE HAVE BEEN MANY REQUESTS FROM USERS TO EXTEND
NUTCH QUERY SYNTAX TO ADD SUPPORT FOR OR QUERIES, IN
ADDITION TO THE IMPLICIT AND AND NOT QUERIES SUPPORTED NOW.

-- 
THIS MESSAGE IS AUTOMATICALLY GENERATED BY JIRA.
-
YOU CAN REPLY TO THIS EMAIL TO ADD A COMMENT TO THE ISSUE
ONLINE.


Commented: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-05-09 16:48:15
    [ https://issues.apache.org/jira/browse/N
UTCH-479?page=com.atlassian.jira.plugin.system.issuetabpanel
s:comment-tabpanel#action_12494582 ] 

Andrzej Bialecki  commented on NUTCH-479:
-----------------------------------------

Correct - the only syntax element added in this patch is an
OR clause. Nested queries like that are probably not high on
the priority list, because they may be expensive to run, and
they would also complicate the implementation of QueryFilter
plugins. Anyway, improvements are welcome ;)

> Support for OR queries
> ----------------------
>
>                 Key: NUTCH-479
>                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>         Assigned To: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: or.patch
>
>
> There have been many requests from users to extend
Nutch query syntax to add support for OR queries, in
addition to the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


Commented: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-06-22 07:22:26
    [ https://issues.apache.org/jira/browse/N
UTCH-479?page=com.atlassian.jira.plugin.system.issuetabpanel
s:comment-tabpanel#action_12507221 ] 

Rob Young commented on NUTCH-479:
---------------------------------

How would this work in the following case?

"search phrase" category:cat1 OR category:cat2

would it end up as

("search phrase" AND category:cat1) OR
category:cat2

or as

"search phrase" AND (category:cat1 OR
category:cat2)

> Support for OR queries
> ----------------------
>
>                 Key: NUTCH-479
>                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: or.patch
>
>
> There have been many requests from users to extend
Nutch query syntax to add support for OR queries, in
addition to the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


Commented: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-06-27 03:48:26
    [ https://issues.apache.org/jira/browse/N
UTCH-479?page=com.atlassian.jira.plugin.system.issuetabpanel
s:comment-tabpanel#action_12508479 ] 

Rob Young commented on NUTCH-479:
---------------------------------

Hi I've found a bug in this patch. If I search for 
title:red OR"title:blue" I would expect it to be
expanded to
+title:"red" title:"blue" but in fact it
expands to +title:"red" "title:blue" so
there is no way to do term specific queries.

> Support for OR queries
> ----------------------
>
>                 Key: NUTCH-479
>                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: or.patch
>
>
> There have been many requests from users to extend
Nutch query syntax to add support for OR queries, in
addition to the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


Updated: (NUTCH-479) Support for OR queries
country flaguser name
United States
2007-06-27 05:58:26
     [ https://issues.apache.org/jira/browse/NUTCH-479?page=com.at
lassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Young updated NUTCH-479:
----------------------------

    Attachment: or.patch

I've changed the patch slightly to work around the bug I
mentioned earlier.
Now the queries look like this
name:"name value" OR name:"other value"
and are expanded to
+name:"name value" name:"other value"


> Support for OR queries
> ----------------------
>
>                 Key: NUTCH-479
>                 URL: https
://issues.apache.org/jira/browse/NUTCH-479
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: or.patch, or.patch
>
>
> There have been many requests from users to extend
Nutch query syntax to add support for OR queries, in
addition to the implicit AND and NOT queries supported now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )