Documentation of 'org.apache.lucene.search.SpanFilterResult' Java class
SpanFilterResult
org.apache.lucene.search

Class SpanFilterResult



  • public class SpanFilterResult
    extends java.lang.Object
    The results of a SpanQueryFilter. Wraps the BitSet and the position infomration from the SpanQuery

    NOTE: This API is still experimental and subject to change.

    • Constructor Summary

      Constructors 
      Constructor and Description
      SpanFilterResult(java.util.BitSet bits, java.util.List positions) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.BitSet getBits() 
      java.util.List getPositions()
      The first entry in the array corresponds to the first "on" bit.
      • Methods inherited from class java.lang.Object

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

      • SpanFilterResult

        public SpanFilterResult(java.util.BitSet bits,
                                java.util.List positions)
        Parameters:
        bits - The bits for the Filter
        positions - A List of SpanFilterResult.PositionInfo objects
    • Method Detail

      • getPositions

        public java.util.List getPositions()
        The first entry in the array corresponds to the first "on" bit. Entries are increasing by document order
        Returns:
        A List of PositionInfo objects
      • getBits

        public java.util.BitSet getBits()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.