[jira] Created: (SOLR-1996) Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30

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

[jira] Created: (SOLR-1996) Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30

JIRA jira@apache.org
Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30
----------------------------------------------------------------------------------------------

                 Key: SOLR-1996
                 URL: https://issues.apache.org/jira/browse/SOLR-1996
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4.1, 1.4
         Environment: Ubuntu 10, Java 5 - 6
            Reporter: Rafał Kuć


I think there is a problem with edismax query parser. When I try to use pf parameter with query parameter defined like this: q=(aaa bbb)+OR+field:("aaa bbb")^100 the pf parametr is not working - with debug turned on i see some strange phrase query as a part of lucene raw query. Of course when I set the query parametr to something like: q=(aaa bbb) without the 'OR' part the phrase boost is working perfectly.




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


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-1996) Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887569#action_12887569 ]

Yonik Seeley commented on SOLR-1996:
------------------------------------

If that's the actual query, it may be due to some default test synonyms in solr/conf/synonyms.txt

{code}
#some test synonym mappings unlikely to appear in real input text
aaa => aaaa
bbb => bbbb1 bbbb2
{code}

> Possible edismax phrase query bug with query parametr like: q=(aaa+bbb)+OR+otherField:(zzz)^30
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1996
>                 URL: https://issues.apache.org/jira/browse/SOLR-1996
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4, 1.4.1
>         Environment: Ubuntu 10, Java 5 - 6
>            Reporter: Rafał Kuć
>
> I think there is a problem with edismax query parser. When I try to use pf parameter with query parameter defined like this: q=(aaa bbb)+OR+field:("aaa bbb")^100 the pf parametr is not working - with debug turned on i see some strange phrase query as a part of lucene raw query. Of course when I set the query parametr to something like: q=(aaa bbb) without the 'OR' part the phrase boost is working perfectly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]