Class IndexFieldData.XFieldComparatorSource.Nested

  • Enclosing class:

    public static class IndexFieldData.XFieldComparatorSource.Nested
    extends java.lang.Object
    Simple wrapper class around a filter that matches parent documents and a filter that matches child documents. For every root document R, R will be in the parent filter and its children documents will be the documents that are contained in the inner set between the previous parent + 1, or 0 if there is no previous parent, and R (excluded).
    • Constructor Summary

      Constructor Description
      Nested​( rootFilter, innerQuery, NestedSortBuilder nestedSort, searcher)  
    • Method Summary

      Modifier and Type Method Description getInnerQuery()  
      NestedSortBuilder getNestedSort() innerDocs​(org.apache.lucene.index.LeafReaderContext ctx)
      Get a DocIdSet that matches the inner documents.
      org.apache.lucene.util.BitSet rootDocs​(org.apache.lucene.index.LeafReaderContext ctx)
      Get a BitDocIdSet that matches the root documents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Nested

        public Nested​( rootFilter,
                      NestedSortBuilder nestedSort,
    • Method Detail

      • getInnerQuery

        public getInnerQuery()
      • rootDocs

        public org.apache.lucene.util.BitSet rootDocs​(org.apache.lucene.index.LeafReaderContext ctx)
        Get a BitDocIdSet that matches the root documents.
      • innerDocs

        public innerDocs​(org.apache.lucene.index.LeafReaderContext ctx)
        Get a DocIdSet that matches the inner documents.