Queries on search fields with analyzers that don’t tokenize on whitespace (e.g. untokenized fields or when using KeywordTokenizer) seem to get tokenized at query time. This is probably caused by the QueryParser in use. This causes missing and unwanted search results.

The query ‘Some Labeling’ on untokenized field scheme.name gets parsed to:

+((scheme.name:Some) (scheme.name:Labeling))

Where it should be

+(scheme.name:Some Labeling)
Submitted by Elmer van Chastelet on 28 February 2012 at 12:29


On 16 January 2013 at 18:27 Elmer van Chastelet tagged search

Log in to post comments