Query on untokenized search field seems to get tokenized
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
Submitted by Elmer van Chastelet on 28 February 2012 at 12:29+(scheme.name:Some Labeling)
Issue Log
On 28 February 2012 at 14:40 Elmer van Chastelet commented:
See LUCENE-2605: queryparser parses on whitespace and LUCENE-1122: queryparser whitespace escaping and documentation?
On 16 January 2013 at 18:27 Elmer van Chastelet tagged search
Log in to post comments