|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchEngine
The search API.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
SearchResult |
find(java.lang.String searchTerms,
int noOfResultsPerPage,
int page)
Find the entities that match the specified search terms. |
SearchResult |
find(java.lang.String searchTerms,
java.lang.String sort,
SortOrder order,
int resultCount,
int page)
Find the results that match the specified search terms. |
void |
index()
Rebuild the search index. |
SearchResult |
similar(java.lang.String uuid,
int noOfResultsPerPage,
int page)
Find the results that are similar to the specified page. |
Methods inherited from interface ccc.api.core.Scheduler |
---|
isRunning, start, stop |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
SearchResult find(java.lang.String searchTerms, int noOfResultsPerPage, int page)
searchTerms
- The terms to match.noOfResultsPerPage
- The number of results to return.page
- The page of results to return (first page has index of 0).
SearchResult find(java.lang.String searchTerms, java.lang.String sort, SortOrder order, int resultCount, int page)
searchTerms
- The terms to match.sort
- The field to sort on.order
- The order of the sort.resultCount
- The number of results to return.page
- The page of results to return (first page has index of 0).
SearchResult similar(java.lang.String uuid, int noOfResultsPerPage, int page)
uuid
- The page to match.noOfResultsPerPage
- The number of results to return.page
- The page of results to return (first page has index of 0).
void index()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |