public interface SearchService extends DriverService
Modifier and Type | Method and Description |
---|---|
eu.dnetlib.domain.data.SearchResult |
refine(String queryText,
String transformer,
String locale,
Collection<String> fields)
Returns refine results of given query containing the request parameters and
the list of refine XML records as it is derived after the application of
the xslt transfrormer.
|
eu.dnetlib.domain.data.FormattedSearchResult |
refine(String queryText,
String refineTransformer,
String format,
String locale,
Collection<String> fields)
Returns a
FormattedSearchResult containing the formatted results of refine |
eu.dnetlib.domain.data.SearchResult |
search(String queryText,
String transformer,
String locale,
int page,
int size)
Returns search results for given query containing the request parameters and
the list of search result XML records as it is derived after the application of
the xslt tranfrormer.
|
eu.dnetlib.domain.data.FormattedSearchResult |
search(String queryText,
String transformer,
String format,
String locale,
int page,
int size)
Returns a
FormattedSearchResult containing the formatted results of search |
eu.dnetlib.domain.data.SearchResult |
searchNrefine(String queryText,
String searchTransformer,
String refineTransformer,
String locale,
int page,
int size,
Collection<String> fields)
Returns search and refine results containing the request parameters, the list
of XML search records and the list of XML refine records as it is derived after
the application of the xslt tranfrormers.
|
eu.dnetlib.domain.data.FormattedSearchResult |
searchNrefine(String queryText,
String searchTransformer,
String refineTransformer,
String format,
String locale,
int page,
int size,
Collection<String> fields)
Returns a
FormattedSearchResult containing the formatted results of refine and search |
eu.dnetlib.domain.data.SuggestiveResult |
suggestiveSearch(String query) |
identify, notify
eu.dnetlib.domain.data.SearchResult search(String queryText, String transformer, String locale, int page, int size) throws SearchServiceException
queryText
- the querytransformer
- the name of the xslt transformer for search resultslocale
- the localepage
- the search result pagesize
- the search result page sizeSearchResult
containing the request parameters and the list of
search result xml recordsSearchServiceException
eu.dnetlib.domain.data.SearchResult refine(String queryText, String transformer, String locale, Collection<String> fields) throws SearchServiceException
queryText
- the querytransformer
- the name of the xslt transformer for refine resultsformat
- the formatlocale
- the localefields
- the fields to include in refine resultsSearchResult
containing the request parameters and the list of refine xml recordsSearchServiceException
eu.dnetlib.domain.data.SearchResult searchNrefine(String queryText, String searchTransformer, String refineTransformer, String locale, int page, int size, Collection<String> fields) throws SearchServiceException
queryText
- the querysearchTransformer
- the xslt transformer of search resultsrefineTransformer
- the xslt transformer of refine resultsformat
- the formatlocale
- the localepage
- the search result pagesize
- the search result page sizefields
- the fields to include in refineSearchResult
containing the request parameters, the list
of search records and the list of refine recordsSearchServiceException
eu.dnetlib.domain.data.FormattedSearchResult search(String queryText, String transformer, String format, String locale, int page, int size) throws SearchServiceException
FormattedSearchResult
containing the formatted results of searchqueryText
- the querytransformer
- the name of the transformer for refine resultsformat
- the formatlocale
- the localefields
- the fields to include in refine resultsFormattedSearchResult
containing the formatted results of refineSearchServiceException
eu.dnetlib.domain.data.FormattedSearchResult refine(String queryText, String refineTransformer, String format, String locale, Collection<String> fields) throws SearchServiceException
FormattedSearchResult
containing the formatted results of refinequeryText
- the querysearchTransformer
- the transformer of search resultsrefineTransformer
- the transformer of refine resultsformat
- the formatlocale
- the localepage
- the search result pagesize
- the search result page sizefields
- the fields to include in refineFormattedSearchResult
containing the formatted results of refine and searchSearchServiceException
eu.dnetlib.domain.data.FormattedSearchResult searchNrefine(String queryText, String searchTransformer, String refineTransformer, String format, String locale, int page, int size, Collection<String> fields) throws SearchServiceException
FormattedSearchResult
containing the formatted results of refine and searchqueryText
- the querysearchTransformer
- the transformer of search resultsrefineTransformer
- the transformer of refine resultsformat
- the formatlocale
- the localepage
- the search result pagesize
- the search result page sizefields
- the fields to include in refineFormattedSearchResult
containing the formatted results of refine and searchSearchServiceException
eu.dnetlib.domain.data.SuggestiveResult suggestiveSearch(String query) throws SearchServiceException
SearchServiceException
Copyright © 2023. All rights reserved.