public class FTField extends Object
words()
method.
WARNING: This class is not synchronized.Constructor and Description |
---|
FTField() |
Modifier and Type | Method and Description |
---|---|
void |
addField(String name,
FTField child) |
boolean |
addFilter(Filter filter)
Append a next filter to the chain of filters used over the token stream of
words() . |
Sequence<Token> |
filteredWords()
Return an enumeration of the terms in the field filtered by filters.
|
HashMap<String,org.egothor.core.memory.MemoryProximities> |
invertize()
Construct a new Hashtable and adds inverted lists to it.
|
Sequence<Token> |
words()
Return an enumeration of the terms in the field.
|
public boolean addFilter(Filter filter)
words()
. After
this.append(filter1); this.append(filter2); : this.append(filterN);
the filters will be applied in this order: filter1, filter2, ... filterN. If any filter ends with a non-Filter
object, nothing is added.filter
- the filterpublic void addField(String name, FTField child)
name
- name of the field in this parent objectchild
- the fieldpublic Sequence<Token> filteredWords()
Copyright © 2016 Egothor. All Rights Reserved.