Interface SearchEngineService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- SearchEngineServiceImpl
@RemoteServiceRelativePath("searchengine")
public interface SearchEngineService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Search Engine Service.
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptioncheck()Checks the indexerlongCounts the total number of entriesgetInfo()Loads a search engine that contains all search engine details.voidpurge()Launches the purgeExecutes a low-level query in the fulltext indexvoidRemoves a set of entries from the indexvoidreorderTokenFilters(List<String> filters) Reorders the token filters.voidrescheduleAll(boolean dropIndex) Reschedule all entries for indexingvoidsave(GUISearchEngine searchEngine) Saves search engine settingsvoidsaveTokenFilterSettings(String filter, List<GUIParameter> settings) Saves the settings of the specified token filtervoidsetAliases(String extension, String aliases) Sets the parser aliases for the given extension.voidsetLanguageStatus(String language, boolean active) Changes the activation status of a languagevoidsetTokenFilterStatus(String language, boolean active) Changes the activation status of a token filtervoidunlock()Unlocks the indexer
- 
Method Details- 
getInfoLoads a search engine that contains all search engine details.- Returns:
- details about the engine
- Throws:
- ServerException- an error happened in the server application
 
- 
countEntriesCounts the total number of entries- Returns:
- number of entries in the index
- Throws:
- ServerException- an error happened in the server application
 
- 
unlockUnlocks the indexer- Throws:
- ServerException- an error happened in the server application
 
- 
checkChecks the indexer- Returns:
- check report
- Throws:
- ServerException- an error happened in the server application
 
- 
rescheduleAllReschedule all entries for indexing- Parameters:
- dropIndex- must the index be dropped also?
- Throws:
- ServerException- an error happened in the server application
 
- 
saveSaves search engine settings- Parameters:
- searchEngine- the engine to update
- Throws:
- ServerException- an error happened in the server application
 
- 
setLanguageStatusChanges the activation status of a language- Parameters:
- language- the language to change
- active- the new active status
- Throws:
- ServerException- an error happened in the server application
 
- 
setAliasesSets the parser aliases for the given extension. Aliases must be a comma-separated values- Parameters:
- extension- the file extension e.g.: xml
- aliases- comma-separated list of aliases e.g.: html,htmlx
- Throws:
- ServerException- an error happened in the server application
 
- 
reorderTokenFiltersReorders the token filters.- Parameters:
- filters- the ordered list of the filters
- Throws:
- ServerException- an error happened in the server application
 
- 
saveTokenFilterSettingsSaves the settings of the specified token filter- Parameters:
- filter- token filter
- settings- parameters
- Throws:
- ServerException- an error happened in the server application
 
- 
setTokenFilterStatusChanges the activation status of a token filter- Parameters:
- language- the language
- active- the new activation status
- Throws:
- ServerException- an error happened in the server application
 
- 
purgeLaunches the purge- Throws:
- ServerException- an error happened in the server application
 
- 
queryExecutes a low-level query in the fulltext index- Parameters:
- query- the query to use
- page- the page to retrieve
- size- the maximum number of entries to retrieve
- Returns:
- the result
- Throws:
- ServerException- an error happened in the server application
 
- 
removeRemoves a set of entries from the index- Parameters:
- entryIds- identifiers of the entries to delete
- Throws:
- ServerException- an error happened in the server application
 
 
-