fr.paris.lutece.plugins.jcr.service.jcrsearch
Interface JcrSearchEngine

All Known Implementing Classes:
JcrLuceneSearchEngine

public interface JcrSearchEngine

Interface for Jcr search engine


Method Summary
 List<String> getMIMETypeList()
          Finds MIME types of all jsr170 indexed documents
 List<fr.paris.lutece.portal.service.search.SearchResult> getSearchResult(String strQuery, boolean bTitle, String strOperator, Date dateBegin, Date dateEnd, String strMIMEType, fr.paris.lutece.portal.service.security.LuteceUser user)
          Returns the search result
 

Method Detail

getSearchResult

List<fr.paris.lutece.portal.service.search.SearchResult> getSearchResult(String strQuery,
                                                                         boolean bTitle,
                                                                         String strOperator,
                                                                         Date dateBegin,
                                                                         Date dateEnd,
                                                                         String strMIMEType,
                                                                         fr.paris.lutece.portal.service.security.LuteceUser user)
Returns the search result

Parameters:
strQuery - the search query
bTitle - true if the query must search on the title field only
strOperator -
  • "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 on
      user - the registered lutece user from who the query occurred
      Returns:
      the search result

getMIMETypeList

List<String> getMIMETypeList()
Finds MIME types of all jsr170 indexed documents

Returns:
a list of MIME types


Copyright © 2014 Mairie de Paris. All Rights Reserved.