Package | Description |
---|---|
org.springframework.data.solr.core |
Provides the classes necessary for Solr support.
|
Modifier and Type | Method and Description |
---|---|
RequestMethod |
SolrTemplate.getDefaultRequestMethod() |
static RequestMethod |
RequestMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestMethod[] |
RequestMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
long |
SolrTemplate.count(SolrDataQuery query,
RequestMethod method) |
long |
SolrOperations.count(SolrDataQuery query,
RequestMethod method)
return number of elements found by for given query
|
<T> FacetPage<T> |
SolrTemplate.queryForFacetPage(FacetQuery query,
Class<T> clazz,
RequestMethod method) |
<T> FacetPage<T> |
SolrOperations.queryForFacetPage(FacetQuery query,
Class<T> clazz,
RequestMethod method)
Execute a facet query against solr facet result will be returned along with query result within the FacetPage
|
<T> GroupPage<T> |
SolrTemplate.queryForGroupPage(Query query,
Class<T> clazz,
RequestMethod method) |
<T> GroupPage<T> |
SolrOperations.queryForGroupPage(Query query,
Class<T> clazz,
RequestMethod method)
Execute the query against solr and return result as
GroupPage |
<T> HighlightPage<T> |
SolrTemplate.queryForHighlightPage(HighlightQuery query,
Class<T> clazz,
RequestMethod method) |
<T> HighlightPage<T> |
SolrOperations.queryForHighlightPage(HighlightQuery query,
Class<T> clazz,
RequestMethod method)
Execute a query and highlight matches in result
|
<T> T |
SolrTemplate.queryForObject(Query query,
Class<T> clazz,
RequestMethod method) |
<T> T |
SolrOperations.queryForObject(Query query,
Class<T> clazz,
RequestMethod method)
Execute the query against solr and return the first returned object
|
<T> ScoredPage<T> |
SolrTemplate.queryForPage(Query query,
Class<T> clazz,
RequestMethod method) |
<T> ScoredPage<T> |
SolrOperations.queryForPage(Query query,
Class<T> clazz,
RequestMethod method)
Execute the query against solr and retrun result as
Page |
<T> StatsPage<T> |
SolrTemplate.queryForStatsPage(Query query,
Class<T> clazz,
RequestMethod method) |
<T> StatsPage<T> |
SolrOperations.queryForStatsPage(Query query,
Class<T> clazz,
RequestMethod method)
Execute the query against Solr and return result as
StatsPage . |
TermsPage |
SolrTemplate.queryForTermsPage(TermsQuery query,
RequestMethod method) |
TermsPage |
SolrOperations.queryForTermsPage(TermsQuery query,
RequestMethod method)
Execute query using terms handler
|
Constructor and Description |
---|
SolrTemplate(SolrClientFactory solrClientFactory,
RequestMethod requestMethod) |
SolrTemplate(SolrClientFactory solrClientFactory,
SolrConverter solrConverter,
RequestMethod defaultRequestMethod) |
SolrTemplate(org.apache.solr.client.solrj.SolrClient solrClient,
String core,
RequestMethod requestMethod) |
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.