Package | Description |
---|---|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.request |
APIs and classes for dealing with Solr requests
|
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
org.apache.solr.search.grouping.collector |
Grouping related
Collector s |
org.apache.solr.search.grouping.distributed.command |
Internal classes used to implement distributed result grouping
|
Modifier and Type | Method and Description |
---|---|
protected List<NamedList<Object>> |
PivotFacetProcessor.doPivots(NamedList<Integer> superFacets,
String field,
String subField,
Deque<String> fnames,
Deque<String> vnames,
DocSet docs)
Recursive function to compute all the pivot counts for the values under teh specified field
|
Constructor and Description |
---|
PivotFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
Modifier and Type | Field and Description |
---|---|
protected DocSet |
SimpleFacets.docs |
protected DocSet |
SimpleFacets.docsOrig
The main set of documents all facet counts should be relative to
|
Modifier and Type | Method and Description |
---|---|
NamedList<Integer> |
UnInvertedField.getCounts(SolrIndexSearcher searcher,
DocSet baseDocs,
int offset,
int limit,
Integer mincount,
boolean missing,
String sort,
String prefix) |
static NamedList<Integer> |
DocValuesFacets.getCounts(SolrIndexSearcher searcher,
DocSet docs,
String fieldName,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix) |
NamedList<Integer> |
SimpleFacets.getFacetTermEnumCounts(SolrIndexSearcher searcher,
DocSet docs,
String field,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix)
Returns a list of terms in the specified field along with the
corresponding count of documents in the set that match that constraint.
|
static NamedList<Integer> |
SimpleFacets.getFieldCacheCounts(SolrIndexSearcher searcher,
DocSet docs,
String fieldName,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix)
Use the Lucene FieldCache to get counts for each unique field value in
docs . |
static int |
SimpleFacets.getFieldMissingCount(SolrIndexSearcher searcher,
DocSet docs,
String fieldName)
Returns a count of the documents in the set which do not have any
terms for for the specified field.
|
NamedList<Integer> |
SimpleFacets.getGroupedCounts(SolrIndexSearcher searcher,
DocSet base,
String field,
boolean multiToken,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix) |
protected NamedList<Integer> |
SimpleFacets.getListedTermCounts(String field,
DocSet base,
List<String> terms)
Computes the term->count counts for the specified term values relative to the
|
StatsValues |
UnInvertedField.getStats(SolrIndexSearcher searcher,
DocSet baseDocs,
boolean calcDistinct,
String[] facet)
Collect statistics about the UninvertedField.
|
NamedList<Integer> |
SimpleFacets.getTermCounts(String field,
DocSet base)
Term counts for use in field faceting that resepects the appropriate mincount
|
NamedList<Integer> |
SimpleFacets.getTermCountsForPivots(String field,
DocSet docs)
Term counts for use in pivot faceting that resepcts the appropriate mincount
|
Constructor and Description |
---|
IntervalFacets(SchemaField schemaField,
SolrIndexSearcher searcher,
DocSet docs,
String[] intervals,
SolrParams params) |
SimpleFacets(SolrQueryRequest req,
DocSet docs,
SolrParams params) |
SimpleFacets(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocList
DocList represents the result of a query: an ordered list of document ids with optional score. |
Modifier and Type | Class and Description |
---|---|
class |
BitDocSet
BitDocSet represents an unordered set of Lucene Document Ids
using a BitSet. |
class |
DocSlice
DocSlice implements DocList as an array of docids and optional scores. |
class |
HashDocSet
HashDocSet represents an unordered set of Lucene Document Ids
using a primitive int hash table. |
class |
SortedIntDocSet
SortedIntDocSet represents a sorted set of Lucene Document Ids. |
Modifier and Type | Field and Description |
---|---|
DocSet |
SolrIndexSearcher.ProcessedFilter.answer |
DocSet |
DocListAndSet.docSet |
static DocSet |
DocSet.EMPTY |
Modifier and Type | Method and Description |
---|---|
DocSet |
SortedIntDocSet.andNot(DocSet other) |
DocSet |
HashDocSet.andNot(DocSet other) |
DocSet |
DocSet.andNot(DocSet other)
Returns the documents in this set that are not in the other set.
|
DocSet |
BitDocSet.andNot(DocSet other) |
DocSet |
SolrIndexSearcher.QueryResult.getDocSet() |
DocSet |
DocSetDelegateCollector.getDocSet() |
DocSet |
DocSetCollector.getDocSet() |
DocSet |
SolrIndexSearcher.getDocSet(List<Query> queries)
Returns the set of document ids matching all queries.
|
DocSet |
SolrIndexSearcher.getDocSet(Query query)
Returns the set of document ids matching a query.
|
DocSet |
SolrIndexSearcher.getDocSet(Query query,
DocSet filter)
Returns the set of document ids matching both the query and the filter.
|
DocSet |
SolrIndexSearcher.getDocSet(SolrIndexSearcher.DocsEnumState deState)
lucene.internal
|
protected DocSet |
SolrIndexSearcher.getDocSetNC(Query query,
DocSet filter) |
DocSet |
SolrIndexSearcher.QueryCommand.getFilter() |
DocSet |
SortedIntDocSet.intersection(DocSet other) |
DocSet |
HashDocSet.intersection(DocSet other) |
DocSet |
DocSlice.intersection(DocSet other) |
DocSet |
DocSet.intersection(DocSet other)
Returns the intersection of this set with another set.
|
DocSet |
HashDocSet.union(DocSet other) |
DocSet |
DocSet.union(DocSet other)
Returns the union of this set with another set.
|
DocSet |
BitDocSet.union(DocSet other) |
Modifier and Type | Method and Description |
---|---|
void |
SortedIntDocSet.addAllTo(DocSet target) |
void |
DocSet.addAllTo(DocSet target)
Adds all the docs from this set to the target set.
|
void |
BitDocSet.addAllTo(DocSet target) |
DocSet |
SortedIntDocSet.andNot(DocSet other) |
DocSet |
HashDocSet.andNot(DocSet other) |
DocSet |
DocSet.andNot(DocSet other)
Returns the documents in this set that are not in the other set.
|
DocSet |
BitDocSet.andNot(DocSet other) |
int |
DocSet.andNotSize(DocSet other)
Returns the number of documents in this set that are not in the other set.
|
int |
BitDocSet.andNotSize(DocSet other) |
void |
SolrIndexSearcher.cacheDocSet(Query query,
DocSet optionalAnswer,
boolean mustCache)
Compute and cache the DocSet that matches a query.
|
DocList |
SolrIndexSearcher.getDocList(Query query,
DocSet filter,
Sort lsort,
int offset,
int len)
Returns documents matching both
query and filter
and sorted by sort . |
DocListAndSet |
SolrIndexSearcher.getDocListAndSet(Query query,
DocSet filter,
Sort lsort,
int offset,
int len)
Returns documents matching both
query and filter
and sorted by sort . |
DocListAndSet |
SolrIndexSearcher.getDocListAndSet(Query query,
DocSet filter,
Sort lsort,
int offset,
int len,
int flags)
Returns documents matching both
query and filter
and sorted by sort . |
DocSet |
SolrIndexSearcher.getDocSet(Query query,
DocSet filter)
Returns the set of document ids matching both the query and the filter.
|
protected DocSet |
SolrIndexSearcher.getDocSetNC(Query query,
DocSet filter) |
SolrIndexSearcher.ProcessedFilter |
SolrIndexSearcher.getProcessedFilter(DocSet setFilter,
List<Query> queries) |
DocSet |
SortedIntDocSet.intersection(DocSet other) |
DocSet |
HashDocSet.intersection(DocSet other) |
DocSet |
DocSlice.intersection(DocSet other) |
DocSet |
DocSet.intersection(DocSet other)
Returns the intersection of this set with another set.
|
int |
SortedIntDocSet.intersectionSize(DocSet other) |
int |
HashDocSet.intersectionSize(DocSet other) |
int |
DocSlice.intersectionSize(DocSet other) |
int |
DocSet.intersectionSize(DocSet other)
Returns the number of documents of the intersection of this set with another set.
|
int |
BitDocSet.intersectionSize(DocSet other) |
boolean |
SortedIntDocSet.intersects(DocSet other) |
boolean |
HashDocSet.intersects(DocSet other) |
boolean |
DocSlice.intersects(DocSet other) |
boolean |
DocSet.intersects(DocSet other)
Returns true if these sets have any elements in common
|
boolean |
BitDocSet.intersects(DocSet other) |
int |
SolrIndexSearcher.numDocs(DocSet a,
SolrIndexSearcher.DocsEnumState deState) |
int |
SolrIndexSearcher.numDocs(Query a,
DocSet b)
Returns the number of documents that match both
a and b . |
void |
SolrIndexSearcher.QueryResult.setDocSet(DocSet set) |
SolrIndexSearcher.QueryCommand |
SolrIndexSearcher.QueryCommand.setFilter(DocSet filter) |
DocSet |
HashDocSet.union(DocSet other) |
DocSet |
DocSet.union(DocSet other)
Returns the union of this set with another set.
|
DocSet |
BitDocSet.union(DocSet other) |
int |
DocSet.unionSize(DocSet other)
Returns the number of documents of the union of this set with another set.
|
int |
BitDocSet.unionSize(DocSet other) |
Constructor and Description |
---|
FilterCollector(DocSet filter,
Collector delegate) |
Modifier and Type | Method and Description |
---|---|
QueryCommand.Builder |
QueryCommand.Builder.setDocSet(DocSet docSet) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.