Modifier and Type | Method and Description |
---|---|
abstract NamedList |
DocumentClusteringEngine.cluster(DocSet docs,
SolrParams solrParams)
Experimental.
|
Modifier and Type | Field and Description |
---|---|
protected DocSet |
SimpleFacets.docs
The main set of documents all facet counts should be relative to
|
Modifier and Type | Method and Description |
---|---|
NamedList |
UnInvertedField.getCounts(SolrIndexSearcher searcher,
DocSet baseDocs,
int offset,
int limit,
Integer mincount,
boolean missing,
String sort,
String prefix) |
NamedList |
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 |
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.
|
StatsValues |
UnInvertedField.getStats(SolrIndexSearcher searcher,
DocSet baseDocs,
String[] facet)
Collect statistics about the UninvertedField.
|
Constructor and Description |
---|
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 |
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.convertFilter(org.apache.lucene.search.Filter lfilter)
Converts a filter into a DocSet.
|
DocSet |
SolrIndexSearcher.QueryResult.getDocSet() |
DocSet |
DocSetDelegateCollector.getDocSet() |
DocSet |
DocSetCollector.getDocSet() |
DocSet |
SolrIndexSearcher.getDocSet(List<org.apache.lucene.search.Query> queries)
Returns the set of document ids matching all queries.
|
DocSet |
SolrIndexSearcher.getDocSet(org.apache.lucene.search.Query query)
Returns the set of document ids matching a query.
|
DocSet |
SolrIndexSearcher.getDocSet(org.apache.lucene.search.Query query,
DocSet filter)
Returns the set of document ids matching both the query and the filter.
|
protected DocSet |
SolrIndexSearcher.getDocSetNC(org.apache.lucene.search.Query query,
DocSet filter) |
protected DocSet |
SolrIndexSearcher.getDocSetNC(org.apache.lucene.search.Query query,
DocSet filter,
SolrIndexSearcher.TermDocsState tdState) |
DocSet |
SolrIndexSearcher.QueryCommand.getFilter() |
DocSet |
SolrIndexSearcher.getPositiveDocSet(org.apache.lucene.search.Query q,
SolrIndexSearcher.TermDocsState tdState) |
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 |
---|---|
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(org.apache.lucene.search.Query query,
DocSet optionalAnswer,
boolean mustCache)
Compute and cache the DocSet that matches a query.
|
DocList |
SolrIndexSearcher.getDocList(org.apache.lucene.search.Query query,
DocSet filter,
org.apache.lucene.search.Sort lsort,
int offset,
int len)
Returns documents matching both
query and filter
and sorted by sort . |
DocListAndSet |
SolrIndexSearcher.getDocListAndSet(org.apache.lucene.search.Query query,
DocSet filter,
org.apache.lucene.search.Sort lsort,
int offset,
int len)
Returns documents matching both
query and filter
and sorted by sort . |
DocListAndSet |
SolrIndexSearcher.getDocListAndSet(org.apache.lucene.search.Query query,
DocSet filter,
org.apache.lucene.search.Sort lsort,
int offset,
int len,
int flags)
Returns documents matching both
query and filter
and sorted by sort . |
DocSet |
SolrIndexSearcher.getDocSet(org.apache.lucene.search.Query query,
DocSet filter)
Returns the set of document ids matching both the query and the filter.
|
protected DocSet |
SolrIndexSearcher.getDocSetNC(org.apache.lucene.search.Query query,
DocSet filter) |
protected DocSet |
SolrIndexSearcher.getDocSetNC(org.apache.lucene.search.Query query,
DocSet filter,
SolrIndexSearcher.TermDocsState tdState) |
SolrIndexSearcher.ProcessedFilter |
SolrIndexSearcher.getProcessedFilter(DocSet setFilter,
List<org.apache.lucene.search.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) |
int |
SolrIndexSearcher.numDocs(org.apache.lucene.search.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) |
protected DocList |
SolrIndexSearcher.sortDocSet(DocSet set,
org.apache.lucene.search.Sort sort,
int nDocs) |
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,
org.apache.lucene.search.Collector delegate) |
Modifier and Type | Method and Description |
---|---|
QueryCommand.Builder |
QueryCommand.Builder.setDocSet(DocSet docSet) |