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