You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Arsen Li (JIRA)" <ji...@apache.org> on 2015/03/16 13:56:38 UTC

[jira] [Created] (SOLR-7249) Solr engine misses null-values in "OR null" part when eDisMax parser

Arsen Li created SOLR-7249:
------------------------------

             Summary: Solr engine misses null-values in "OR null" part when eDisMax parser
                 Key: SOLR-7249
                 URL: https://issues.apache.org/jira/browse/SOLR-7249
             Project: Solr
          Issue Type: Bug
          Components: query parsers
    Affects Versions: 4.10.3
         Environment: Windows 7
CentOS 6.6
            Reporter: Arsen Li


Solr engine misses null-values in "OR null" part when eDisMax parser
For example, I have following query:

((*:* AND -area:[* TO *]) OR area:[100 TO 300]) AND objectId:40105451

full query path visible in Solr Admin panel is

select?q=((*%3A*+AND+-area%3A%5B*+TO+*%5D)+OR+area%3A%5B100+TO+300%5D)+AND+objectId%3A40105451&wt=json&indent=true

so, it should return record if area between 100 and 300 or area not declared.

it works ok for default parser, but when I set "edismax" checkbox checked in Solr admin panel - it returns nothing ("area" for objectId=40105451 is null). 

Request path is following
select?q=((*%3A*+AND+-area%3A%5B*+TO+*%5D)+OR+area%3A%5B100+TO+300%5D)+AND+objectId%3A40105451&wt=json&indent=true&defType=edismax&stopwords=true&lowercaseOperators=true

However, when I move query from "q" field to "q.alt" field - it works ok, query is

select?wt=json&indent=true&defType=edismax&q.alt=((*%3A*+AND+-area%3A%5B*+TO+*%5D)+OR+area%3A%5B100+TO+300%5D)+AND+objectId%3A40105451&stopwords=true&lowercaseOperators=true




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org