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.addMoreLikeThisField(String field)
Add field for MoreLikeThis.
|
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.setMoreLikeThis(boolean b)
Enable/Disable MoreLikeThis.
|
SolrQuery |
SolrQuery.setMoreLikeThisBoost(boolean b)
Sets if the query will be boosted by the interesting term relevance.
|
SolrQuery |
SolrQuery.setMoreLikeThisCount(int count)
Sets the number of similar documents to return for each result.
|
SolrQuery |
SolrQuery.setMoreLikeThisFields(String... fields) |
SolrQuery |
SolrQuery.setMoreLikeThisMaxQueryTerms(int maxqt)
Sets the maximum number of query terms that will be included in any
generated query.
|
SolrQuery |
SolrQuery.setMoreLikeThisMaxTokensParsed(int maxntp)
Sets the maximum number of tokens to parse in each example doc field
that is not stored with TermVector support.
|
SolrQuery |
SolrQuery.setMoreLikeThisMaxWordLen(int maxwl)
Sets the maximum word length above which words will be ignored.
|
SolrQuery |
SolrQuery.setMoreLikeThisMinDocFreq(int mindf)
Sets the frequency at which words will be ignored which do not occur in
at least this many docs.
|
SolrQuery |
SolrQuery.setMoreLikeThisMinTermFreq(int mintf)
Sets the frequency below which terms will be ignored in the source doc
|
SolrQuery |
SolrQuery.setMoreLikeThisMinWordLen(int minwl)
Sets the minimum word length below which words will be ignored.
|
SolrQuery |
SolrQuery.setMoreLikeThisQF(String qf)
Sets the query fields and their boosts using the same format as that
used in DisMaxQParserPlugin.
|
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.setShowDebugInfo(boolean showDebugInfo) |
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-2021 Apache Software Foundation. All Rights Reserved.