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] [Commented] (SOLR-10310) By default, stop splitting on whitespace prior to analysis in edismax and "Lucene"/standard query parsers
Date Thu, 23 Mar 2017 18:12:41 GMT

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

Steve Rowe commented on SOLR-10310:
-----------------------------------

{{QueryBuilder.autoGenerateMultiTermSynonymsPhraseQuery()}}, introduced in LUCENE-7638, is
the graph version of {{autoGeneratePhraseQueries}}.  

I guess there are three possible paths here:

# As hinted in SOLR-10348: avoid dealing with sow=false/auto-gen-phrase=true incompatibility
by leaving the exception in place and dropping {{autoGeneratePhraseQueries="true"}} from example
schemas.
# Re-interpret Solr's {{autoGeneratePhraseQueries}} per-fieldtype option as setting {{QueryBuilder.autoGenerateMultiTermSynonymsPhraseQuery()}}
when {{sow=false}}.
# Introduce a new (per-fieldtype?) option {{autoGenerateMultiTermSynonymsPhraseQuery}}.

I agree, [~dsmiley], that my #1 above is a step back.  (Though [~rcmuir] has claimed otherwise:
[https://issues.apache.org/jira/browse/LUCENE-2458?focusedCommentId=12866557&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12866557])

I like #2 best.  (Should be done on its own issue though.)

Thoughts?


> By default, stop splitting on whitespace prior to analysis in edismax and "Lucene"/standard
query parsers
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10310
>                 URL: https://issues.apache.org/jira/browse/SOLR-10310
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>
> SOLR-9185 introduced an option on the edismax and standard query parsers to not perform
pre-analysis whitespace splitting: the {{sow=false}} request param.
> On master/7.0, we should make {{sow=false}} the default.



--
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