Description
Following OAK-1487 I've introduced a regression in the indexing of fields on the Lucene index.
There are some types of queries (the ones that use property restrictions) that cannot run anymore.
/jcr:root/content/dam//*[jcr:contains(jcr:content/metadata/@dc:format, 'application/pdf')]
Caused by: java.lang.IllegalStateException: field "dc:format" was indexed without position data; cannot run PhraseQuery (term=text)
I could not reproduce this in an unit test so far.