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

All Known Implementing Classes:
JcrLuceneSearchEngine

public interface JcrSearchEngine

Interface for Jcr search engine


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
 

Method Detail

getSearchResult

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

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

java.util.List<java.lang.String> getMIMETypeList()
Finds MIME types of all jsr170 indexed documents

Returns:
a list of MIME types


Copyright © 2011 Mairie de Paris. All Rights Reserved.