definitionNode, searchEngineId
Constructor and Description |
---|
LuceneIndexer(Node indexerNode) |
Modifier and Type | Method and Description |
---|---|
void |
addSearchContent(SearchContent searchContent)
Adds a
content to the index. |
protected void |
addSearchContent(SearchContent searchContent,
String indexPath) |
protected String |
getIndexBasePath(SearchContent searchContent) |
Object |
getWriteLock(String indexPath) |
void |
removeSearchContent(Collection<SearchContent> searchContents)
Removes a
content collection from the index, using each
content 's identifier field
as selection criteria. |
protected void |
removeSearchContent(Collection<SearchContent> searchContents,
String selectionFieldName) |
protected void |
removeSearchContent(Collection<SearchContent> searchContents,
String indexPath,
String selectionFieldName) |
void |
removeSearchContent(SearchContent searchContent)
|
void |
removeSearchContent(SearchContent searchContent,
String selectionFieldName)
|
protected void |
removeSearchContent(String selectionFieldName,
Set<String> selectionValues,
String indexPath) |
mergeSearchContent
getConfigNode, getConfigNodes
public LuceneIndexer(Node indexerNode) throws PortalException
PortalException
public Object getWriteLock(String indexPath) throws PortalException
PortalException
public void addSearchContent(SearchContent searchContent) throws PortalException
Indexer
content
to the index.addSearchContent
in class Indexer
searchContent
- the content
to be added.PortalException
protected void addSearchContent(SearchContent searchContent, String indexPath) throws PortalException
PortalException
public void removeSearchContent(SearchContent searchContent) throws PortalException
Indexer
removeSearchContent
in class Indexer
searchContent
- the content
to be removed.PortalException
public void removeSearchContent(SearchContent searchContent, String selectionFieldName) throws PortalException
Indexer
removeSearchContent
in class Indexer
searchContent
- the content
to be removed.selectionFieldName
- field to be used as selection criteriaPortalException
protected void removeSearchContent(Collection<SearchContent> searchContents, String indexPath, String selectionFieldName) throws PortalException
PortalException
public void removeSearchContent(Collection<SearchContent> searchContents) throws PortalException
Indexer
content
collection from the index, using each
content
's identifier field
as selection criteria.removeSearchContent
in class Indexer
searchContents
- the content
s to be removed.PortalException
protected void removeSearchContent(Collection<SearchContent> searchContents, String selectionFieldName) throws PortalException
PortalException
protected void removeSearchContent(String selectionFieldName, Set<String> selectionValues, String indexPath) throws PortalException
PortalException
protected String getIndexBasePath(SearchContent searchContent) throws PortalException
PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.