Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
Came across this as part of SOLR-10264 test development, walkback extract shown below, will attach patch used to reproduce.
[junit4] 1> cpoerschke debug: newFieldName=managed_en_field [junit4] 1> cpoerschke debug: query=managed_en_field:happy test [junit4] 2> 7417 INFO (qtp45246903-42) [ x:collection1] o.a.s.c.S.Request [collection1] webapp=/solr path=/select params={q=managed_en_field:happy+test&indent=on&sow=true&wt=xml} hits=1 status=0 QTime=21 [junit4] 1> cpoerschke debug: newFieldName=managed_en_field sow=true [junit4] 1> cpoerschke debug: query=managed_en_field:happy test [junit4] 2> 7421 INFO (qtp45246903-35) [ x:collection1] o.a.s.c.S.Request [collection1] webapp=/solr path=/select params={q=managed_en_field:happy+test&indent=on&sow=true&wt=xml} hits=1 status=0 QTime=1 [junit4] 1> cpoerschke debug: newFieldName=managed_en_field sow=false [junit4] 1> cpoerschke debug: query=managed_en_field:happy test [junit4] 2> 7424 ERROR (qtp45246903-40) [ x:collection1] o.a.s.h.RequestHandlerBase org.apache.solr.search.QueryParserConfigurationException: Field 'text': fieldAutoGenPhraseQueries == true is disallowed when sow/splitOnWhitespace == false [junit4] 2> at org.apache.solr.parser.QueryParser.newFieldQuery(QueryParser.java:62) [junit4] 2> at org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:953) [junit4] 2> at org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:692) [junit4] 2> at org.apache.solr.parser.QueryParser.Term(QueryParser.java:424) [junit4] 2> at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:281) [junit4] 2> at org.apache.solr.parser.QueryParser.Query(QueryParser.java:225) [junit4] 2> at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:134) [junit4] 2> at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:212) [junit4] 2> at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:53) [junit4] 2> at org.apache.solr.search.QParser.getQuery(QParser.java:168) [junit4] 2> at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:161) [junit4] 2> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:268) [junit4] 2> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173) [junit4] 2> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2464)
Attachments
Attachments
Issue Links
- relates to
-
LUCENE-7533 Classic query parser: autoGeneratePhraseQueries=true doesn't work when splitOnWhitespace=false
- Resolved
-
SOLR-10264 ManagedSynonymFilterFactory does not parse multi-term synonyms
- Closed
-
SOLR-9185 Solr's edismax and "Lucene"/standard query parsers should optionally not split on whitespace before sending terms to analysis
- Closed
-
SOLR-10310 By default, stop splitting on whitespace prior to analysis in edismax and "Lucene"/standard query parsers
- Resolved