Hi Adrien,
thank you very much for your reply.
> FieldValueQuery is indeed the replacement. I you don't plan on adding other
> clauses to the boolean query, you can even run the FieldValueQuery directly
> through IndexSearcher, without wrapping it in a BooleanQuery.
yes, I have this working now.
> The fact that you need to index doc values is related to another change in
> which we removed Lucene's FieldCache and now recommend to use doc values
> instead. Until you reindex with doc values, you can temporarily use
> UninvertingReader[1] to have the same behaviour as in Lucene 4.x.
Is indexing doc values vs. UninvertingReader a space/time tradeoff? Or
is the general recommendation to index doc values and only resort to an
UninvertingReader when a full 4.x to 5.x conversion is to costly in
terms of dev. hours?
Best wishes,
Andreas
--
Codetrails GmbH
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|