|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.module.declarative.search.local.DefaultSearchSystem
public class DefaultSearchSystem
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOGGER
logger definition |
| Constructor Summary | |
|---|---|
DefaultSearchSystem(IDeclarativeModule module)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
java.util.Collection<IChunk> |
findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule)
this implementation fails fast |
java.util.Collection<IChunk> |
findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule)
find all I that match this pattern somewhat |
void |
index(IChunk chunk)
index this object |
void |
unindex(IChunk chunk)
remove this object from the index |
void |
update(IChunk chunk,
java.lang.String slotName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOGGER
| Constructor Detail |
|---|
public DefaultSearchSystem(IDeclarativeModule module)
| Method Detail |
|---|
public void clear()
clear in interface ISearchSystem
public java.util.Collection<IChunk> findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule)
findExact in interface ISearchSystemsortRule - may be null
ISearchSystem.findExact(ChunkTypeRequest,
java.util.Comparator)
public java.util.Collection<IChunk> findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule)
ISearchSystem
findFuzzy in interface ISearchSystempublic void index(IChunk chunk)
ISearchSystem
index in interface ISearchSystempublic void unindex(IChunk chunk)
ISearchSystem
unindex in interface ISearchSystem
public void update(IChunk chunk,
java.lang.String slotName,
java.lang.Object oldValue,
java.lang.Object newValue)
update in interface ISearchSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||