|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchService
Interface that a concrete SearchService must implement.
| Method Summary | |
|---|---|
long |
count(String documentType,
List<QueryRule> queryRules)
Get the total hit count |
void |
deleteDocumentsByType(String documentType)
delete documentType from index |
boolean |
documentTypeExists(String documentType)
Check if a type exists in the index |
void |
indexTupleTable(String documentType,
TupleTable tupleTable)
Index a TupleTable |
SearchResult |
search(SearchRequest request)
Search the index |
void |
updateIndex(String documentType,
Iterable<? extends Entity> entities)
Insert or update entities in the index of a documentType |
| Method Detail |
|---|
boolean documentTypeExists(String documentType)
documentType -
void updateIndex(String documentType,
Iterable<? extends Entity> entities)
documentType - entities -
void indexTupleTable(String documentType,
TupleTable tupleTable)
documentType - , teh documentType nametupleTable - SearchResult search(SearchRequest request)
request -
long count(String documentType,
List<QueryRule> queryRules)
documentType - queryRules -
void deleteDocumentsByType(String documentType)
indexname -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||