Leonhard Maylein created SOLR-4141:
--------------------------------------

             Summary: EDismax: Strange combination of subqueries with 
parentheses
                 Key: SOLR-4141
                 URL: https://issues.apache.org/jira/browse/SOLR-4141
             Project: Solr
          Issue Type: Bug
          Components: query parsers
    Affects Versions: 4.0
            Reporter: Leonhard Maylein


fi = field name, mm=100% (all examples)

The query 'fi:a fi:b'
(parsed query: '(+((fi:a fi:b)~2))/no_coord')
is interpreted as 'fi:a AND fi:b'

This also applies to the queries '(fi:a fi:b)' respectively 
'fi:(a b)'.

But the query '(fi:a fi:b) (fi:a fi:b)'
(parsed query: '(+(((fi:a fi:b) (fi:a fi:b))~2))/no_coord')
shows the same result as 'fi:a OR fi:b'.

I'm not sure but I think this is a bug, isn't it?
If it's a intended behavior I think it is very difficult
to explain this to a searcher.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to