[ 
https://issues.apache.org/jira/browse/SOLR-10357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946112#comment-15946112
 ] 

ASF subversion and git services commented on SOLR-10357:
--------------------------------------------------------

Commit 0a689f4d95e981e99ae0e80741e7cf1fa74ff60f in lucene-solr's branch 
refs/heads/master from [~steve_rowe]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0a689f4 ]

SOLR-10357: Enable edismax and standard query parsers to handle the option 
combination sow=false / autoGeneratePhraseQueries=true by setting 
QueryBuilder.autoGenerateMultiTermSynonymsQuery


> 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
>         Attachments: SOLR-10357.patch, SOLR-10357.patch, SOLR-10357.patch
>
>
> 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