| Package | Description |
|---|---|
| org.craftercms.search.service | |
| org.craftercms.search.service.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
QueryFactory<T extends Query>
Factory for creating specific types of
Querys |
interface |
ResourceAwareSearchService<T extends Query>
Extension of
SearchService that provides methods for indexing binary/document files accessible through
Spring Resources. |
interface |
SearchService<T extends Query>
Provides a basic interface to a search engine, like Solr.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
Query.setDisableAdditionalFilters(boolean disableAdditionalFilters)
Sets if the additional Crafter Search filters should be disabled on query execution.
|
Query |
Query.setFieldsToReturn(String... fieldsToReturn)
Sets the fields that should be returned.
|
Query |
Query.setNumResults(int numResults)
Sets the number of results to return.
|
Query |
Query.setOffset(int offset)
Sets the offset of the results.
|
Query |
Query.setQuery(String query)
Sets the actual query.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryParams
Simple
Query represented as a map of query parameters. |
class |
SolrQuery
Search query for Solr.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
DualSearchService.createQuery() |
Query |
DualSearchService.createQuery(Map<String,String[]> params) |
Query |
QueryParams.setDisableAdditionalFilters(boolean disableAdditionalFilters) |
Query |
SolrQuery.setNumResults(int numResults) |
Query |
SolrQuery.setOffset(int offset) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
DualSearchService.search(Query query) |
Map<String,Object> |
DualSearchService.search(String indexId,
Query query) |
| Modifier and Type | Method and Description |
|---|---|
void |
DualSearchService.setReadService(SearchService<Query> readService) |
void |
DualSearchService.setWriteService(SearchService<Query> writeService) |
Copyright © 2019 CrafterCMS. All rights reserved.