In my solr 9.2 schema, I am leveraging the dynamicField

<dynamicField name="*_txt" type="text_general" indexed="true"
stored="true"/>

which tokenizes with solr.StandardTokenizerFactory for index and query.

However, when I query with, for example,
<str name="q">metadata_txt:XYZ.tif</str>

I see many more hits than I expect.  When I add debug=true to the query, I
see:
<str name="rawquerystring">metadata_txt:XYZ.tif</str>
<str name="querystring">metadata_txt:XYZ.tif</str>
<str name="parsedquery">metadata_txt:XYZ metadata_txt:tif</str>

But I expect that dots not followed by whitespace will be kept as part of
the token, that is, the parsed query should remain "metadata_txt:XYZ.tif"
but solr appears to be splitting into two tokens.

Can somebody point out what I am misunderstanding?
Thanks,
~~Bill

Reply via email to