|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.Processor lumis.search.Indexer
@StableMinor(version="4.1", sinceVersion="4.0") public abstract class Indexer
Stores searcheable data in a search engine.
Field Summary |
---|
Fields inherited from class lumis.search.Processor |
---|
definitionNode, searchEngineId |
Constructor Summary | |
---|---|
Indexer(Node definitionNode)
Constructs an Indexer object, configured by the given definition node . |
Method Summary | |
---|---|
abstract void |
addSearchContent(SearchContent searchContent)
Adds a content to the index. |
abstract void |
mergeSearchContent(SearchContent searchContent)
Updates a content in the index. |
abstract void |
removeSearchContent(Collection<SearchContent> searchContents)
Removes a content collection from the index, using each
content 's identifier field
as selection criteria. |
abstract void |
removeSearchContent(SearchContent searchContent)
Removes a content from the index, using content 's
identifier field as selection criteria. |
abstract void |
removeSearchContent(SearchContent searchContent,
String selectionFieldName)
Removes a content from the index, using a field of a content
as selection criteria. |
Methods inherited from class lumis.search.Processor |
---|
getConfigNode, getConfigNodes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Indexer(Node definitionNode) throws PortalException
node
.
definitionNode
- indexer definition node
.
PortalException
Method Detail |
---|
public abstract void addSearchContent(SearchContent searchContent) throws PortalException
content
to the index.
searchContent
- the content
to be added.
PortalException
public abstract void mergeSearchContent(SearchContent searchContent) throws PortalException
content
in the index. The update will be done in one of the two following ways:
searchContent
- the content
to be updated.
PortalException
public abstract void removeSearchContent(SearchContent searchContent) throws PortalException
content
from the index, using content
's
identifier field
as selection criteria.
searchContent
- the content
to be removed.
PortalException
public abstract void removeSearchContent(SearchContent searchContent, String selectionFieldName) throws PortalException
content
from the index, using a field of a content
as selection criteria.
searchContent
- the content
to be removed.selectionFieldName
- field to be used as selection criteria
PortalException
public abstract void removeSearchContent(Collection<SearchContent> searchContents) throws PortalException
content
collection from the index, using each
content
's identifier field
as selection criteria.
searchContents
- the content
s to be removed.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |