Hi all,

We have a multivalued field that has an integer at the beginning followed
by a space, and the index analyzer chain extracts that value to search on

<analyzer type="index">
  <tokenizer class="solr.PatternTokenizerFactory" pattern="^\d+"
group="0"/> </analyzer>


testField:[
34 blah blah blah
27 blah blah blah
...
]

The query analyzer chain is just a keyword tokenizer factory since the
clients are searching only for the number on that field. So one process
will attempt to send in the following query

<analyzer type="query">
  <tokenizer class="solr.KeywordTokenizerFactory"/></analyzer>


q=testField:(34 27)

However, this will not pickup the document with the example testField value
above in version 7.4.0. Passing it as an fq parameter has the same result.

My understanding was that the query parser should split the (34 27) into
search terms "34" and "27" before the query analyzer chain is even entered.
Is that not correct anymore?

Thanks,
Chris

Reply via email to