Re: [EXT] Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Erick Erickson
.com] > Sent: Wednesday, August 22, 2018 11:16 AM > To: solr-user > Subject: [EXT] Re: field was indexed without position data; cannot run > SpanTermQuery > > StrFields are, by definition, unanalyzed. They cannot have position > information because they are always one tok

RE: [EXT] Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Hanjan, Harinder
22, 2018 11:16 AM To: solr-user Subject: [EXT] Re: field was indexed without position data; cannot run SpanTermQuery StrFields are, by definition, unanalyzed. They cannot have position information because they are always one token. Searching for a phrase on a single token makes no sense. The

Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Erick Erickson
StrFields are, by definition, unanalyzed. They cannot have position information because they are always one token. Searching for a phrase on a single token makes no sense. The error message is a little odd, but accurate. You'll have to re-index as a text-based field if you want this kind of functi

field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Hanjan, Harinder
Hello! I am doing wildcard queries to satisfy our search type ahead requirement for both single and mutli word (phrases) queries. I just noticed this error in the logs. 2018-08-22 16:36:48.433 INFO (qtp1654589030-18) [ x:suggestions] o.a.s.c.S.Request [suggestions] webapp=/solr path=/select