Synchronized Commit?

2017-08-08 Thread Matt Hicks
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

Occur.FILTER clarification

2017-08-08 Thread Ahmet Arslan
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