de.uplanet.lucy.server.indexengine
Class SearchManager

java.lang.Object
  extended by de.uplanet.lucy.server.indexengine.SearchManager

public final class SearchManager
extends java.lang.Object

Version:
$Revision: 77201 $

Field Summary
static int MAX_HITS
           
 
Method Summary
static SearchManager createInstance(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.searchengine.SearchContext p_sctx)
           
 int prepareGlobalSearch(ISearchConfigurationFilter p_filter)
          Prepare searching applications.
 int prepareSearch(java.lang.String p_strAppGuid, java.lang.String p_strContext)
          Prepare searching the specified application.
 de.uplanet.lucy.server.indexengine.SearchResult search(java.lang.String p_strQuery)
           
 void setSearchTimeout(int p_iSeconds)
          Set the search timeout.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_HITS

public static final int MAX_HITS
See Also:
Constant Field Values
Method Detail

createInstance

public static SearchManager createInstance(de.uplanet.jdbc.JdbcConnection p_conn,
                                           de.uplanet.lucy.server.searchengine.SearchContext p_sctx)

prepareGlobalSearch

public int prepareGlobalSearch(ISearchConfigurationFilter p_filter)
Prepare searching applications.

Parameters:
A - collection of applications to be searched, or null if all applications should be searched.
Returns:
The number of search queries that will actually be performend.

prepareSearch

public int prepareSearch(java.lang.String p_strAppGuid,
                         java.lang.String p_strContext)
Prepare searching the specified application.

Parameters:
p_strAppGuid - The unique identifier of the application.
p_strContext - A unique identifier that specifies the search context, usually a FUP GUID.
Returns:
The number of search queries that will actually be performend.

search

public de.uplanet.lucy.server.indexengine.SearchResult search(java.lang.String p_strQuery)

setSearchTimeout

public void setSearchTimeout(int p_iSeconds)
Set the search timeout.

Parameters:
p_iSeconds - The timeout in seconds.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.