|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.ae.lucene.FieldFilter
public class FieldFilter
Filters Terms based on their field.
Field Summary | |
---|---|
private java.util.Set<java.lang.String> |
fields
|
Constructor Summary | |
---|---|
FieldFilter(java.lang.String... fields)
Creates a FieldFilter that will pass a terms if its field is one of the specified fields. |
Method Summary | |
---|---|
boolean |
evaluate(org.apache.lucene.index.Term item)
Evaluates the term against its field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Set<java.lang.String> fields
Constructor Detail |
---|
public FieldFilter(java.lang.String... fields)
fields
- the allowable fields.Method Detail |
---|
public boolean evaluate(org.apache.lucene.index.Term item)
evaluate
in interface Filter<org.apache.lucene.index.Term>
item
- the item to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |