com.rapidtransform.core.search
Interface SearchService

All Superinterfaces:
Service
All Known Implementing Classes:
CompassSearchService

public interface SearchService
extends Service

Author:
Steve

Method Summary
 void index()
          Creates the search indexes.
 java.util.Collection<SearchResult> search(java.lang.String searchType, SearchCommand searchCommand)
          Performs a search with the given SearchCommand.
 

Method Detail

search

java.util.Collection<SearchResult> search(java.lang.String searchType,
                                          SearchCommand searchCommand)
Performs a search with the given SearchCommand. The Search command must contain all information to execute the search.

Parameters:
searchType - Meta Type being searched. If null, then all types will be searched.
query -

index

void index()
Creates the search indexes. If old search indexes exist, they are removed once the new indexes are created. No system down time is required to re-index since the new indexes will be swapped in for the old indexes by using the index locks.