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.FieldTypeFULL_TEXT_INDEXED_STRINGstatic org.apache.lucene.document.FieldTypeINDEXED_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 voidafterPropertiesSet()protected voidhandleAddDocument(String index, org.apache.lucene.document.Document doc)protected voidhandleIndexObject(String index, Object o)protected voidhandleResetIndex(String index)protected voidhandleSearch(String index, String query, org.apache.lucene.search.Collector collector)protected voidhandleSearch(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:
handleAddDocumentin classLuceneIndexServiceBase- Throws:
Exception
-
handleIndexObject
protected void handleIndexObject(String index, Object o) throws Exception
- Specified by:
handleIndexObjectin classLuceneIndexServiceBase- Throws:
Exception
-
handleSearch
protected void handleSearch(String index, String query, org.apache.lucene.search.Collector collector) throws Exception
- Specified by:
handleSearchin classLuceneIndexServiceBase- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
handleResetIndex
protected void handleResetIndex(String index) throws Exception
- Specified by:
handleResetIndexin 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:
handleSearchin classLuceneIndexServiceBase- Throws:
Exception
-
-