Hi everyone,
I understand that NFS is not suggested for Lucene indexes. Nevertheless it
is the situation where I work and I'd like to make sure if the problem I am
having is because of indexes on NFS.
Here is the exception:
https://gist.github.com/anonymous/e15fd813d9e3789bd3fdf1cba62ff530
/moun
There are many implementations because each query typically needs a custom
DocIdSetIterator implementation. It looks like your use-case doesn't need a
custom query though, you could use a TermQuery wrapped in a constant-score
query (see my reply to the other question you asked).
Le ven. 1 déc. 201
Your implementation is going to match all documents since the iterator
batches all documents. I believe you could do what you want with bultin
queries by doing
Query params_vendor = new ConstantScoreQuery(new TermQuery(new
Term("params_vendor", queryStr)), 5f);
and similarly for other queries.
L