public class RegexpFilter
extends org.apache.lucene.search.Filter
getDocIdSet(AtomicReaderContext, Bits)
.
It is not thread safe (so can't be applied on multiple segments concurrently)Constructor and Description |
---|
RegexpFilter(org.apache.lucene.index.Term term) |
RegexpFilter(org.apache.lucene.index.Term term,
int flags) |
RegexpFilter(org.apache.lucene.index.Term term,
int flags,
int maxDeterminizedStates) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
field() |
int |
flags() |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs) |
int |
hashCode() |
String |
regexp() |
String |
toString() |
public RegexpFilter(org.apache.lucene.index.Term term)
public RegexpFilter(org.apache.lucene.index.Term term, int flags)
public RegexpFilter(org.apache.lucene.index.Term term, int flags, int maxDeterminizedStates)
public String field()
public String regexp()
public int flags()
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws IOException
getDocIdSet
in class org.apache.lucene.search.Filter
IOException
Copyright © 2009–2015. All rights reserved.