Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
Modifier and Type | Method and Description |
---|---|
SolrQuery |
SolrQuery.addDateRangeFacet(String field,
Date start,
Date end,
String gap)
Add a numeric range facet.
|
SolrQuery |
SolrQuery.addFacetField(String... fields)
Add field(s) for facet computation.
|
SolrQuery |
SolrQuery.addFacetPivotField(String... fields)
Add field(s) for pivot computation.
|
SolrQuery |
SolrQuery.addFacetQuery(String f)
add a faceting query
|
SolrQuery |
SolrQuery.addField(String field) |
SolrQuery |
SolrQuery.addFilterQuery(String... fq) |
SolrQuery |
SolrQuery.addHighlightField(String f)
add highlight field
|
SolrQuery |
SolrQuery.addIntervalFacets(String field,
String[] intervals)
Add Interval Faceting on a field.
|
SolrQuery |
SolrQuery.addNumericRangeFacet(String field,
Number start,
Number end,
Number gap)
Add a numeric range facet.
|
SolrQuery |
SolrQuery.addOrUpdateSort(SolrQuery.SortClause sortClause)
Updates or adds a single sort field specification to the current sort
information.
|
SolrQuery |
SolrQuery.addOrUpdateSort(String field,
SolrQuery.ORDER order)
Updates or adds a single sort clause to the query.
|
SolrQuery |
SolrQuery.addSort(SolrQuery.SortClause sortClause)
Adds a single sort clause to the end of the query.
|
SolrQuery |
SolrQuery.addSort(String field,
SolrQuery.ORDER order)
Adds a single sort clause to the end of the current sort information.
|
SolrQuery |
SolrQuery.addTermsField(String field) |
SolrQuery |
SolrQuery.clearSorts()
Clears current sort information.
|
SolrQuery |
SolrQuery.getCopy()
get a deep copy of this object
|
SolrQuery |
SolrQuery.removeSort(SolrQuery.SortClause sortClause)
Removes a single sort field from the current sort information.
|
SolrQuery |
SolrQuery.removeSort(String itemName)
Removes a single sort field from the current sort information.
|
SolrQuery |
SolrQuery.setFacet(boolean b)
enable/disable faceting.
|
SolrQuery |
SolrQuery.setFacetLimit(int lim)
set the facet limit
|
SolrQuery |
SolrQuery.setFacetMinCount(int cnt)
set facet minimum count
|
SolrQuery |
SolrQuery.setFacetMissing(Boolean v)
Sets facet missing boolean flag
|
SolrQuery |
SolrQuery.setFacetPrefix(String prefix) |
SolrQuery |
SolrQuery.setFacetPrefix(String field,
String prefix) |
SolrQuery |
SolrQuery.setFacetSort(String sort)
set facet sort
|
SolrQuery |
SolrQuery.setFields(String... fields) |
SolrQuery |
SolrQuery.setFilterQueries(String... fq) |
SolrQuery |
SolrQuery.setHighlight(boolean b) |
SolrQuery |
SolrQuery.setHighlightFragsize(int num) |
SolrQuery |
SolrQuery.setHighlightRequireFieldMatch(boolean flag) |
SolrQuery |
SolrQuery.setHighlightSimplePost(String f) |
SolrQuery |
SolrQuery.setHighlightSimplePre(String f) |
SolrQuery |
SolrQuery.setHighlightSnippets(int num) |
SolrQuery |
SolrQuery.setIncludeScore(boolean includeScore) |
SolrQuery |
SolrQuery.setParam(String name,
boolean value) |
SolrQuery |
SolrQuery.setParam(String name,
String... values) |
SolrQuery |
SolrQuery.setQuery(String query) |
SolrQuery |
SolrQuery.setRequestHandler(String qt)
The Request Handler to use (see the solrconfig.xml), which is stored in the "qt" parameter.
|
SolrQuery |
SolrQuery.setRows(Integer rows) |
SolrQuery |
SolrQuery.setSort(SolrQuery.SortClause sortClause)
Replaces the current sort information with a single sort clause
|
SolrQuery |
SolrQuery.setSort(String field,
SolrQuery.ORDER order)
Replaces the current sort information with a single sort clause
|
SolrQuery |
SolrQuery.setSorts(List<SolrQuery.SortClause> value)
Replaces the current sort information.
|
SolrQuery |
SolrQuery.setStart(Integer start) |
SolrQuery |
SolrQuery.setTerms(boolean b)
enable/disable terms.
|
SolrQuery |
SolrQuery.setTermsLimit(int limit) |
SolrQuery |
SolrQuery.setTermsLower(String lower) |
SolrQuery |
SolrQuery.setTermsLowerInclusive(boolean b) |
SolrQuery |
SolrQuery.setTermsMaxCount(int cnt) |
SolrQuery |
SolrQuery.setTermsMinCount(int cnt) |
SolrQuery |
SolrQuery.setTermsPrefix(String prefix) |
SolrQuery |
SolrQuery.setTermsRaw(boolean b) |
SolrQuery |
SolrQuery.setTermsRegex(String regex) |
SolrQuery |
SolrQuery.setTermsRegexFlag(String flag) |
SolrQuery |
SolrQuery.setTermsSortString(String type) |
SolrQuery |
SolrQuery.setTermsUpper(String upper) |
SolrQuery |
SolrQuery.setTermsUpperInclusive(boolean b) |
SolrQuery |
SolrQuery.setTimeAllowed(Integer milliseconds)
Set the maximum time allowed for this query.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.