|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchService
Search interface that discovery uses
| Method Summary | |
|---|---|
List<Item> |
getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration)
|
DiscoverResult |
search(Context context,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery) with a null DSpace Object as scope (i.e. |
DiscoverResult |
search(Context context,
DiscoverQuery query,
boolean includeWithdrawn)
|
DiscoverResult |
search(Context context,
DSpaceObject dso,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery, boolean) with includeWithdrawn=false |
DiscoverResult |
search(Context context,
DSpaceObject dso,
DiscoverQuery query,
boolean includeWithdrawn)
|
List<DSpaceObject> |
search(Context context,
String query,
String orderfield,
boolean ascending,
int offset,
int max,
String... filterquery)
|
InputStream |
searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier)
|
InputStream |
searchJSON(Context context,
DiscoverQuery query,
String jsonIdentifier)
|
DiscoverFilterQuery |
toFilterQuery(Context context,
String field,
String operator,
String value)
Transforms the given string field and value into a filter query |
String |
toSortFieldIndex(String metadataField,
String type)
Transforms the metadata field of the given sort configuration into the indexed field which we can then use in our solr queries |
| Method Detail |
|---|
DiscoverResult search(Context context,
DiscoverQuery query)
throws SearchServiceException
context - DSpace Context objectdso - a DSpace Object to use as scope of the search (only results
within this object)query - the discovery query object
SearchServiceException
DiscoverResult search(Context context,
DSpaceObject dso,
DiscoverQuery query)
throws SearchServiceException
context - DSpace Context objectdso - a DSpace Object to use as scope of the search (only results
within this object)query - the discovery query object
SearchServiceException
DiscoverResult search(Context context,
DiscoverQuery query,
boolean includeWithdrawn)
throws SearchServiceException
context - DSpace Context objectdso - a DSpace Object to use as scope of the search (only results
within this object)includeWithdrawn - use true to include in the results also withdrawn
items that match the query
SearchServiceException
DiscoverResult search(Context context,
DSpaceObject dso,
DiscoverQuery query,
boolean includeWithdrawn)
throws SearchServiceException
context - DSpace Context objectdso - a DSpace Object to use as scope of the search (only results
within this object)query - the discovery query objectincludeWithdrawn - use true to include in the results also withdrawn
items that match the query
SearchServiceException
InputStream searchJSON(Context context,
DiscoverQuery query,
String jsonIdentifier)
throws SearchServiceException
SearchServiceException
InputStream searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier)
throws SearchServiceException
SearchServiceException
List<DSpaceObject> search(Context context,
String query,
String orderfield,
boolean ascending,
int offset,
int max,
String... filterquery)
DiscoverFilterQuery toFilterQuery(Context context,
String field,
String operator,
String value)
throws SQLException
context - the DSpace contextfield - the field of the filter queryvalue - the filter query value
SQLException - ...
List<Item> getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration)
String toSortFieldIndex(String metadataField,
String type)
metadataField - the metadata field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||