Class LuceneFormSearchEngine
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.service.search.LuceneFormSearchEngine
-
- All Implemented Interfaces:
IFormSearchEngine
public class LuceneFormSearchEngine extends Object implements IFormSearchEngine
-
-
Constructor Summary
Constructors Constructor Description LuceneFormSearchEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>getSearchResults(FormSearchConfig formSearchConfig)Get the id of the form responses based on a FormSearchConfig objList<Integer>getSearchResults(String strSearchText)Get the id of the form responses based on a text to searchList<FormResponseSearchItem>getSearchResults(List<IFormPanelInitializerQueryPart> listFormPanelInitializerQueryPart, List<IFormColumnQueryPart> listFormColumnQueryPart, List<IFormFilterQueryPart> listFormFilterQueryPart, FormItemSortConfig sortConfig, int nStartIndex, int nPageSize, FormPanel formPanel)Get the FormResponseSearchItem list based on given FormPanel, FormColumnList and FormFilterList
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSearchResults
public List<Integer> getSearchResults(FormSearchConfig formSearchConfig)
Get the id of the form responses based on a FormSearchConfig obj- Specified by:
getSearchResultsin interfaceIFormSearchEngine- Returns:
- the list of form responses id based on given FormSearchConfig obj
-
getSearchResults
public List<Integer> getSearchResults(String strSearchText)
Get the id of the form responses based on a text to search- Specified by:
getSearchResultsin interfaceIFormSearchEngine- Parameters:
strSearchText- the searched text- Returns:
- the list of form responses id based on text to search
-
getSearchResults
public List<FormResponseSearchItem> getSearchResults(List<IFormPanelInitializerQueryPart> listFormPanelInitializerQueryPart, List<IFormColumnQueryPart> listFormColumnQueryPart, List<IFormFilterQueryPart> listFormFilterQueryPart, FormItemSortConfig sortConfig, int nStartIndex, int nPageSize, FormPanel formPanel)
Get the FormResponseSearchItem list based on given FormPanel, FormColumnList and FormFilterList- Specified by:
getSearchResultsin interfaceIFormSearchEngine- Returns:
- the list of FormResponseSearchItem
-
-