All Superinterfaces:
AutoCloseable, Closeable

public interface BloomFilter extends Closeable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BloomFilter
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    mayContainTerm(String field, org.apache.lucene.util.BytesRef term)
    Tests whether the given term may exist in the specified field.

    Methods inherited from interface java.io.Closeable

    close
  • Field Details

  • Method Details

    • mayContainTerm

      boolean mayContainTerm(String field, org.apache.lucene.util.BytesRef term) throws IOException
      Tests whether the given term may exist in the specified field.
      Parameters:
      field - the field name to check
      term - the term to test for membership
      Returns:
      true if term may be present, false if definitely absent
      Throws:
      IOException