lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-10527) edismax with sow=false fails to create dismax-per-term queries when any field is boosted
Date Wed, 19 Apr 2017 22:55:04 GMT
Steve Rowe created SOLR-10527:
---------------------------------

             Summary: edismax with sow=false fails to create dismax-per-term queries when
any field is boosted
                 Key: SOLR-10527
                 URL: https://issues.apache.org/jira/browse/SOLR-10527
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Steve Rowe


When {{sow=false}}, the edismax query parser creates dismax-per-field queries when field analysis
is different enough that query structures differ per field (stopwords in one field only, e.g.).
 (By contrast, dismax-per-*term* queries are produced when {{sow=true}} or when query structures
are the same across all fields.)

However, the code to determine whether per-field query structures differed wasn't aware of
boost queries.  As a result, when {{sow=false}} and boost are specified for at least one field
(e.g. {{q=\{!edismax sow=false\}text&qf=fieldA^2+fieldB^4}}), dismax-per-field queries
are always produced, even when per-field query structures are equivalent.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message