Uses of Interface
org.apache.solr.search.DocSet

Packages that use DocSet
org.apache.solr.request   
org.apache.solr.search   
 

Uses of DocSet in org.apache.solr.request
 

Fields in org.apache.solr.request declared as DocSet
protected  DocSet SimpleFacets.docs
          The main set of documents all facet counts should be relative to
 

Methods in org.apache.solr.request with parameters of type DocSet
protected  NamedList StandardRequestHandler.getFacetInfo(SolrQueryRequest req, SolrQueryResponse rsp, DocSet mainSet)
          Fetches information about Facets for this request.
protected  NamedList DisMaxRequestHandler.getFacetInfo(SolrQueryRequest req, SolrQueryResponse rsp, DocSet mainSet)
          Fetches information about Facets for this request.
 NamedList SimpleFacets.getFacetTermEnumCounts(SolrIndexSearcher searcher, DocSet docs, java.lang.String field, int offset, int limit, int mincount, boolean missing, boolean sort, java.lang.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, java.lang.String fieldName, int offset, int limit, int mincount, boolean missing, boolean sort, java.lang.String prefix)
          Use the Lucene FieldCache to get counts for each unique field value in docs.
static int SimpleFacets.getFieldMissingCount(SolrIndexSearcher searcher, DocSet docs, java.lang.String fieldName)
          Returns a count of the documents in the set which do not have any terms for for the specified field.
 

Constructors in org.apache.solr.request with parameters of type DocSet
SimpleFacets(SolrIndexSearcher searcher, DocSet docs, SolrParams params)
           
 

Uses of DocSet in org.apache.solr.search
 

Subinterfaces of DocSet in org.apache.solr.search
 interface DocList
          DocList represents the result of a query: an ordered list of document ids with optional score.
 

Classes in org.apache.solr.search that implement DocSet
 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.
 

Fields in org.apache.solr.search declared as DocSet
 DocSet DocListAndSet.docSet
           
 

Methods in org.apache.solr.search that return DocSet
 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.
protected  DocSet SolrIndexSearcher.getDocSet(java.util.List<org.apache.lucene.search.Query> 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)
           
 DocSet HashDocSet.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)
           
 

Methods in org.apache.solr.search with parameters of type DocSet
 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)
           
 DocSet HashDocSet.intersection(DocSet other)
           
 DocSet DocSet.intersection(DocSet other)
          Returns the intersection of this set with another set.
 int HashDocSet.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.
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)
           
 



Copyright © 2006 - 2008 The Apache Software Foundation