When I add a document to my index I immediately commit
(indexWriter.commit(), taxonomyWriter.commit(), and
searcherTaxonomyManager.maybeRefresh()) and then when I do a search I call
searcherTaxonomyManager.maybeRefreshBlocking() and then
searcherTaxonomyManager.acquire() followed by a search, the n
Hi all,
I am trying to access document lenght statistics of the documents that do not
contain a given term.
I have written following piece of code
BooleanQuery.Builder builder = new BooleanQuery.Builder();builder.add(new
MatchAllDocsQuery(), BooleanClause.Occur.MUST).add(new TermQuery(te