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.addNumericRangeFacet(String field,
Number start,
Number end,
Number gap)
Add a numeric range facet.
|
SolrQuery |
SolrQuery.addSortField(String field,
SolrQuery.ORDER order) |
SolrQuery |
SolrQuery.addTermsField(String field) |
SolrQuery |
SolrQuery.getCopy()
get a deep copy of this object
|
SolrQuery |
SolrQuery.removeSortField(String field,
SolrQuery.ORDER order) |
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(boolean sort)
Deprecated.
Use
setFacetSort(String) instead, true corresponds to
FacetParams.FACET_SORT_COUNT and false to FacetParams.FACET_SORT_INDEX . |
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.setMissing(String fld)
Deprecated.
|
SolrQuery |
SolrQuery.setParam(String name,
boolean value) |
SolrQuery |
SolrQuery.setParam(String name,
String... values) |
SolrQuery |
SolrQuery.setQuery(String query) |
SolrQuery |
SolrQuery.setQueryType(String qt)
Deprecated.
|
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.setSortField(String field,
SolrQuery.ORDER order) |
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-2013 Apache Software Foundation. All Rights Reserved.