Steve Rowe created SOLR-10357:
---------------------------------

             Summary: When sow=false, edismax&standard query parsers should 
handle per-fieldtype autoGeneratePhraseQueries by setting 
QueryBuilder.autoGenerateMultiTermSynonymsQuery
                 Key: SOLR-10357
                 URL: https://issues.apache.org/jira/browse/SOLR-10357
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Steve Rowe


Right now, the options to not split on whitespace ({{sow=false}}) and to 
autogenerate phrase queries ({{autoGeneratePhraseQueries="true"}}) will cause 
queries to throw an exception, since they are incompatible.

{{QueryBuilder.autoGenerateMultiTermSynonymsPhraseQuery}}, introduced in 
LUCENE-7638, is the graph query version of Solr's per-fieldtype 
{{autoGeneratePhraseQueries}} option, and is not incompatible with 
{{sow=false}}.  

So {{autoGeneratePhraseQueries="true"}} should cause  
{{QueryBuilder.autoGenerateMultiTermSynonymsPhraseQuery}} to be set to true 
when {{sow=false}}, rather than triggering an exception.




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

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

Reply via email to