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

Class PrefixFilter

  • All Implemented Interfaces:
    java.io.Serializable


    public class PrefixFilter
    extends Filter
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      PrefixFilter(Term prefix) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.BitSet bits(IndexReader reader)
      Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
      Term getPrefix() 
      java.lang.String toString()
      Prints a user-readable version of this query.
      • Methods inherited from class java.lang.Object

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

      • PrefixFilter

        public PrefixFilter(Term prefix)
    • Method Detail

      • getPrefix

        public Term getPrefix()
      • bits

        public java.util.BitSet bits(IndexReader reader)
                              throws java.io.IOException
        Description copied from class: Filter
        Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
        Specified by:
        bits in class Filter
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Prints a user-readable version of this query.
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.