Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase committed Sep 20, 2023
1 parent 23e3138 commit 7ce7fdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private long getBackgroundFrequency(Query query) throws IOException {
if (backgroundFilter != null) {
query = new BooleanQuery.Builder().add(query, Occur.FILTER).add(backgroundFilter, Occur.FILTER).build();
}
//return new IndexSearcher(context.searcher().getIndexReader()).count(query);
// return new IndexSearcher(context.searcher().getIndexReader()).count(query);
return context.searcher().count(query);
}

Expand Down

0 comments on commit 7ce7fdf

Please sign in to comment.