fr.paris.lutece.plugins.jcr.service.jcrsearch
Class JcrLuceneSearchEngine
java.lang.Object
fr.paris.lutece.plugins.jcr.service.jcrsearch.JcrLuceneSearchEngine
- All Implemented Interfaces:
- JcrSearchEngine
public class JcrLuceneSearchEngine
- extends java.lang.Object
- implements JcrSearchEngine
JcrLuceneSearchEngine
|
Method Summary |
java.util.List<java.lang.String> |
getMIMETypeList()
Finds MIME types of all jsr170 indexed documents |
java.util.List<fr.paris.lutece.portal.service.search.SearchResult> |
getSearchResult(java.lang.String strQuery,
boolean bTitle,
java.lang.String strOperator,
java.util.Date dateBegin,
java.util.Date dateEnd,
java.lang.String strMIMEType,
fr.paris.lutece.portal.service.security.LuteceUser user)
Returns the search result |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrLuceneSearchEngine
public JcrLuceneSearchEngine()
getSearchResult
public java.util.List<fr.paris.lutece.portal.service.search.SearchResult> getSearchResult(java.lang.String strQuery,
boolean bTitle,
java.lang.String strOperator,
java.util.Date dateBegin,
java.util.Date dateEnd,
java.lang.String strMIMEType,
fr.paris.lutece.portal.service.security.LuteceUser user)
- Returns the search result
- Specified by:
getSearchResult in interface JcrSearchEngine
- Parameters:
strQuery - the search querybTitle - true if the query must search on the title field onlystrOperator - - "OR" to search on each word
- "AND" to search on all words
/dateBegin - the date after which results must have been edited (inclusive)dateEnd - the date before which results must have been edited (exclusive)strMIMEType - the MIME type to search onuser - the registered lutece user from who the query occurred
- Returns:
- the search result
getMIMETypeList
public java.util.List<java.lang.String> getMIMETypeList()
- Finds MIME types of all jsr170 indexed documents
- Specified by:
getMIMETypeList in interface JcrSearchEngine
- Returns:
- a list of MIME types
Copyright © 2011 Mairie de Paris. All Rights Reserved.