|
||||||||||
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="6.2", 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. |
void |
mergeSearchContent(SearchContent searchContent)
Deprecated. Since 4.2.2 this method is no longer supported since most search engines do not offer such operation. Uses of this method must be adapted to use other methods of this interface. This method now throws UnsupportedOperationException
and is being kept only for binary compatibility. It will be removed
in a future version. |
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
@Deprecated public void mergeSearchContent(SearchContent searchContent) throws PortalException
UnsupportedOperationException
and is being kept only for binary compatibility. It will be removed
in a future version.
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 |