Class LuceneCountOperator

All Implemented Interfaces:
Closeable, AutoCloseable, Operator, Releasable

public class LuceneCountOperator extends LuceneOperator
Source operator that incrementally counts the results in Lucene searches Returns always one entry that mimics the Count aggregation internal state: 1. the count as a long (0 if no doc is seen) 2. a bool flag (seen) that's always true meaning that the group (all items) always exists