|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.ae.lucene.WordFilter
public class WordFilter
Filters out terms that have any numeric component as well as any terms whose length is less than a minimum length.
Field Summary | |
---|---|
private int |
minWordSize
|
Constructor Summary | |
---|---|
WordFilter(int minWordSize)
|
Method Summary | |
---|---|
boolean |
evaluate(org.apache.lucene.index.Term item)
Evaluates an item against some implementor specific criteria and returns true if the item passes the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int minWordSize
Constructor Detail |
---|
public WordFilter(int minWordSize)
Method Detail |
---|
public boolean evaluate(org.apache.lucene.index.Term item)
Filter
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 |