public interface FieldSearch
Key object metadata and dublin core fields are searchable from via implementations of this interface.
Key fields include:
Dublin core fields include:
| Modifier and Type | Method and Description |
|---|---|
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.
|
void update(DOReader reader) throws ServerException
reader - the DOReader containing all the field information for the objectServerException - if anything went wrongboolean delete(String pid) throws ServerException
pid - the unique id of the object whose info should be removedServerException - if anything went wrongFieldSearchResult findObjects(String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException
resultFields - the desired fieldsmaxResults - the maximum number of results the client wantsquery - the queryServerException - if anything went wrongFieldSearchResult resumeFindObjects(String sessionToken) throws ServerException
sessionToken - the token of the session in which the remaining results can be
foundServerException - if anything went wrongCopyright © 2013 DuraSpace. All Rights Reserved.