Package com.soffid.iam.service
Class LuceneIndexServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.LuceneIndexServiceBase
-
- com.soffid.iam.service.LuceneIndexServiceImpl
-
- All Implemented Interfaces:
LuceneIndexService
,org.springframework.beans.factory.InitializingBean
public class LuceneIndexServiceImpl extends LuceneIndexServiceBase implements org.springframework.beans.factory.InitializingBean
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.lucene.document.FieldType
FULL_TEXT_INDEXED_STRING
static org.apache.lucene.document.FieldType
INDEXED_STRING
-
Fields inherited from interface com.soffid.iam.service.LuceneIndexService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
protected void
handleAddDocument(String index, org.apache.lucene.document.Document doc)
protected void
handleIndexObject(String index, Object o)
protected void
handleResetIndex(String index)
protected void
handleSearch(String index, String query, org.apache.lucene.search.Collector collector)
protected void
handleSearch(String index, org.apache.lucene.search.Query query, org.apache.lucene.search.Collector collector)
-
Methods inherited from class com.soffid.iam.service.LuceneIndexServiceBase
addDocument, getAdditionalDataService, getAsyncRunnerService, getCustomObjectTypeEntityDao, getLuceneIndexEntityDao, getLuceneIndexPartEntityDao, getPrincipal, indexObject, resetIndex, search, search, setAdditionalDataService, setAsyncRunnerService, setCustomObjectTypeEntityDao, setLuceneIndexEntityDao, setLuceneIndexPartEntityDao
-
-
-
-
Method Detail
-
handleAddDocument
protected void handleAddDocument(String index, org.apache.lucene.document.Document doc) throws Exception
- Specified by:
handleAddDocument
in classLuceneIndexServiceBase
- Throws:
Exception
-
handleIndexObject
protected void handleIndexObject(String index, Object o) throws Exception
- Specified by:
handleIndexObject
in classLuceneIndexServiceBase
- Throws:
Exception
-
handleSearch
protected void handleSearch(String index, String query, org.apache.lucene.search.Collector collector) throws Exception
- Specified by:
handleSearch
in classLuceneIndexServiceBase
- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
handleResetIndex
protected void handleResetIndex(String index) throws Exception
- Specified by:
handleResetIndex
in classLuceneIndexServiceBase
- Throws:
Exception
-
handleSearch
protected void handleSearch(String index, org.apache.lucene.search.Query query, org.apache.lucene.search.Collector collector) throws Exception
- Specified by:
handleSearch
in classLuceneIndexServiceBase
- Throws:
Exception
-
-