[jira] [Updated] (SOLR-10527) edismax with sow=false fails to create dismax-per-term queries when any field is boosted
[ https://issues.apache.org/jira/browse/SOLR-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Rowe updated SOLR-10527: -- Fix Version/s: master (7.0) 6.6 > 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 > Fix For: 6.6, master (7.0) > > Attachments: SOLR-10527.patch > > > 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=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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-10527) edismax with sow=false fails to create dismax-per-term queries when any field is boosted
[ https://issues.apache.org/jira/browse/SOLR-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Rowe updated SOLR-10527: -- Attachment: SOLR-10527.patch Patch with fix and tests. Committing shortly. > 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 > Attachments: SOLR-10527.patch > > > 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=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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org