|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldSearch
Provides a simple field-based search service across all objects in the repository.
Key object metadata and dublin core fields are searchable from via implementations of this interface.
Key fields include:
Dublin core fields include:
| Method Summary | |
|---|---|
boolean |
delete(String pid)
Remove an object from the search indexes. |
FieldSearchResult |
findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query)
Search across specific fields and return the desired fields. |
FieldSearchResult |
resumeFindObjects(String sessionToken)
Resume an in-progress search across specific fields and return the desired fields. |
void |
update(DOReader reader)
Update the search indexes with information from the provided DOReader. |
| Method Detail |
|---|
void update(DOReader reader)
throws ServerException
reader - the DOReader containing all the field information for the object
ServerException - if anything went wrong
boolean delete(String pid)
throws ServerException
pid - the unique id of the object whose info should be removed
ServerException - if anything went wrong
FieldSearchResult findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query)
throws ServerException
resultFields - the desired fieldsmaxResults - the maximum number of results the client wantsquery - the query
ServerException - if anything went wrong
FieldSearchResult resumeFindObjects(String sessionToken)
throws ServerException
sessionToken - the token of the session in which the remaining results can be
found
ServerException - if anything went wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||