Hello.

We got the error:

java.lang.IllegalStateException: field "xxx" was indexed without position data; cannot run PhraseQuery

What I suspect is happening is that field xxx was first indexed as a StringField (untokenized), and subsequently changed to TextField (tokenized and analyzed). Even though all the docs containing the field have been updated in the index, Lucene still sees this as a raw field.

Is there a way to change the meta data associated with a field without building the index from scratch?

Thanks,
Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to