|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Index
API for querying a search index.
Method Summary | |
---|---|
SearchResult |
find(java.lang.String searchTerms,
int resultCount,
int page)
Find the results 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. |
SearchResult |
similar(java.lang.String uuid,
int nofOfResultsPerPage,
int pageNo)
Find the results that are similar to the specified page. |
Method Detail |
---|
SearchResult find(java.lang.String searchTerms, int resultCount, int page)
searchTerms
- The terms to match.resultCount
- 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 nofOfResultsPerPage, int pageNo)
uuid
- The UUID of the page to compare.nofOfResultsPerPage
- The number of results to return.pageNo
- The page of results to return (first page has index of 0).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |