Thanks Allison. I will try it.
Op maandag 24 oktober 2016 heeft Allison, Timothy B.
het volgende geschreven:
> Make sure to setRewriteMethod on the MultiTermQuery to:
> MultiTermQuery.SCORING_BOOLEAN_REWRITE or CONSTANT_SCORE_BOOLEAN_REWRITE
>
> Then something like this should work:
>
>
Make sure to setRewriteMethod on the MultiTermQuery to:
MultiTermQuery.SCORING_BOOLEAN_REWRITE or CONSTANT_SCORE_BOOLEAN_REWRITE
Then something like this should work:
q = q.rewrite(reader);
Set terms = new HashSet<>();
Weight weight = q.createWeight(searcher, false);
I already asked this on StackOverflow. Unfortunately without any answer for
over a week now.
Therefore again to the real experts:
I downloaded a list of 350.000 English words in a .txt file and Indexed it
using the latest Lucene (6.2). I want to apply wildcard queries like
aard and then retr