| 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 |
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 |
QueryParams.setDisableAdditionalFilters(boolean disableAdditionalFilters) |
Query |
SolrQuery.setNumResults(int numResults) |
Query |
SolrQuery.setOffset(int offset) |
Copyright © 2022 CrafterCMS. All rights reserved.