Uses of Class
org.apache.solr.search.DocSet
-
Packages that use DocSet Package Description org.apache.solr.handler.component SearchComponentimplementations for use inSearchHandlerorg.apache.solr.query Solr Queriesorg.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.facet APIs and classes for the JSON Facet API.org.apache.solr.search.grouping.collector Grouping relatedCollectorsorg.apache.solr.search.grouping.distributed.command Internal classes used to implement distributed result groupingorg.apache.solr.search.join Classes related to joins. -
-
Uses of DocSet in org.apache.solr.handler.component
Methods in org.apache.solr.handler.component that return DocSet Modifier and Type Method Description DocSetStatsField. computeBaseDocSet()Computes a baseDocSetfor the current request to be used when computing global stats for the local index.Methods in org.apache.solr.handler.component with parameters of type DocSet Modifier and Type Method Description protected voidPivotFacetProcessor. addPivotQueriesAndRanges(org.apache.solr.common.util.NamedList<Object> pivot, org.apache.solr.common.params.SolrParams params, DocSet docs, List<FacetComponent.FacetBase> facetQueries, List<RangeFacetRequest> facetRanges)Add facet.queries and facet.ranges to the pivot response if neededStatsValuesStatsField. computeLocalStatsValues(DocSet base)static org.apache.solr.common.util.NamedList<Object>SpatialHeatmapFacets. getHeatmapForField(String fieldKey, String fieldName, ResponseBuilder rb, org.apache.solr.common.params.SolrParams params, DocSet docSet)Called bySimpleFacetsto compute heatmap facets.protected SimpleFacetsFacetComponent. newSimpleFacets(SolrQueryRequest req, DocSet docSet, org.apache.solr.common.params.SolrParams params, ResponseBuilder rb)protected intRangeFacetProcessor. rangeCount(DocSet subset, RangeFacetRequest rfr, RangeFacetRequest.FacetRange fr)Macro for getting the numDocs of range over docsConstructors in org.apache.solr.handler.component with parameters of type DocSet Constructor Description PivotFacetProcessor(SolrQueryRequest req, DocSet docs, org.apache.solr.common.params.SolrParams params, ResponseBuilder rb)RangeFacetProcessor(SolrQueryRequest req, DocSet docs, org.apache.solr.common.params.SolrParams params, ResponseBuilder rb) -
Uses of DocSet in org.apache.solr.query
Methods in org.apache.solr.query that return DocSet Modifier and Type Method Description DocSetSolrRangeQuery. createDocSet(SolrIndexSearcher searcher) -
Uses of DocSet in org.apache.solr.request
Fields in org.apache.solr.request declared as DocSet Modifier and Type Field Description DocSetSimpleFacets.ParsedParams. docsprotected DocSetSimpleFacets. docsOrigThe main set of documents all facet counts should be relative toMethods in org.apache.solr.request that return DocSet Modifier and Type Method Description protected DocSetSimpleFacets. computeDocSet(DocSet baseDocSet, List<String> excludeTagList)DocSetSimpleFacets. getDocsOrig()Methods in org.apache.solr.request with parameters of type DocSet Modifier and Type Method Description protected DocSetSimpleFacets. computeDocSet(DocSet baseDocSet, List<String> excludeTagList)static org.apache.solr.common.util.NamedList<Integer>DocValuesFacets. getCounts(SolrIndexSearcher searcher, DocSet docs, String fieldName, int offset, int limit, int mincount, boolean missing, String sort, String prefix, String contains, boolean ignoreCase, FacetDebugInfo fdebug)static org.apache.solr.common.util.NamedList<Integer>DocValuesFacets. getCounts(SolrIndexSearcher searcher, DocSet docs, String fieldName, int offset, int limit, int mincount, boolean missing, String sort, String prefix, Predicate<org.apache.lucene.util.BytesRef> termFilter, FacetDebugInfo fdebug)static StatsValuesDocValuesStats. getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)org.apache.solr.common.util.NamedList<Integer>SimpleFacets. getFacetTermEnumCounts(SolrIndexSearcher searcher, DocSet docs, String field, int offset, int limit, int mincount, boolean missing, String sort, String prefix, String contains, boolean ignoreCase, boolean intersectsCheck)Works likeSimpleFacets.getFacetTermEnumCounts(SolrIndexSearcher, DocSet, String, int, int, int, boolean, String, String, Predicate, boolean)but takes a substring directly for the contains check rather than aPredicateinstance.org.apache.solr.common.util.NamedList<Integer>SimpleFacets. getFacetTermEnumCounts(SolrIndexSearcher searcher, DocSet docs, String field, int offset, int limit, int mincount, boolean missing, String sort, String prefix, Predicate<org.apache.lucene.util.BytesRef> termFilter, boolean intersectsCheck)Returns a list of terms in the specified field along with the corresponding count of documents in the set that match that constraint.static intSimpleFacets. 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.org.apache.solr.common.util.NamedList<Integer>SimpleFacets. getGroupedCounts(SolrIndexSearcher searcher, DocSet base, String field, boolean multiToken, int offset, int limit, int mincount, boolean missing, String sort, String prefix, Predicate<org.apache.lucene.util.BytesRef> termFilter)intSimpleFacets. getGroupedFacetQueryCount(org.apache.lucene.search.Query facetQuery, DocSet docSet)Returns a grouped facet count for the facet querySimpleFacets.ParsedParamsSimpleFacets.ParsedParams. withDocs(DocSet docs)Constructors in org.apache.solr.request with parameters of type DocSet Constructor Description IntervalFacets(SchemaField schemaField, SolrIndexSearcher searcher, DocSet docs, String[] intervals, org.apache.solr.common.params.SolrParams params)Constructor that accepts un-parsed intervals using "interval faceting" syntax.IntervalFacets(SchemaField schemaField, SolrIndexSearcher searcher, DocSet docs, IntervalFacets.FacetInterval[] intervals)Constructor that accepts an already constructed array ofIntervalFacets.FacetIntervalobjects.ParsedParams(org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, org.apache.solr.common.params.SolrParams required, String facetValue, DocSet docs, String key, List<String> tags, int threads)SimpleFacets(SolrQueryRequest req, DocSet docs, org.apache.solr.common.params.SolrParams params)SimpleFacets(SolrQueryRequest req, DocSet docs, org.apache.solr.common.params.SolrParams params, ResponseBuilder rb) -
Uses of DocSet in org.apache.solr.search
Subclasses of DocSet in org.apache.solr.search Modifier and Type Class Description classBitDocSetAFixedBitSetbased implementation of aDocSet.classSortedIntDocSetA simple sorted int[] array implementation ofDocSet, good for small sets.Fields in org.apache.solr.search declared as DocSet Modifier and Type Field Description DocSetSolrIndexSearcher.ProcessedFilter. answerDocSetDocListAndSet. docSetMethods in org.apache.solr.search that return DocSet Modifier and Type Method Description DocSetBitDocSet. andNot(DocSet other)abstract DocSetDocSet. andNot(DocSet other)Returns the documents in this set that are not in the other set.DocSetSortedIntDocSet. andNot(DocSet other)DocSetDocSetBuilder. build(org.apache.lucene.util.FixedBitSet filter)DocSetDocSetBuilder. buildUniqueInOrder(org.apache.lucene.util.FixedBitSet filter)Only use this if you know there were no duplicates and that docs were collected in-order!abstract DocSetDocSet. clone()DocSetDocSetProducer. createDocSet(SolrIndexSearcher searcher)static DocSetDocSetUtil. createDocSet(SolrIndexSearcher searcher, org.apache.lucene.index.Term term)static DocSetDocSetUtil. createDocSet(SolrIndexSearcher searcher, org.apache.lucene.search.Query query, DocSet filter)static DocSetDocSetUtil. createDocSetGeneric(SolrIndexSearcher searcher, org.apache.lucene.search.Query query)static DocSetDocSet. empty()An empty instance (has no docs).DocSetDocSetCollector. getDocSet()static DocSetDocSetUtil. getDocSet(DocSetCollector collector, SolrIndexSearcher searcher)This variant of getDocSet will attempt to do some deduplication on certain DocSets such as DocSets that match numDocs.static DocSetDocSetUtil. getDocSet(DocSet docs, SolrIndexSearcher searcher)This variant of getDocSet maps all sets with size numDocs to searcher.getLiveDocs.DocSetQueryResult. getDocSet()DocSetSolrIndexSearcher. getDocSet(List<org.apache.lucene.search.Query> queries)Returns the set of document ids matching all queries.DocSetSolrIndexSearcher. getDocSet(org.apache.lucene.search.Query query)Returns the set of document ids matching both the query.DocSetSolrIndexSearcher. getDocSet(org.apache.lucene.search.Query query, DocSet filter)Returns the set of document ids matching both the query and the filter.DocSetSolrIndexSearcher. getDocSet(SolrIndexSearcher.DocsEnumState deState)protected DocSetSolrIndexSearcher. getDocSetNC(org.apache.lucene.search.Query query, DocSet filter)DocSetQueryCommand. getFilter()DocSetBitDocSet. intersection(DocSet other)abstract DocSetDocSet. intersection(DocSet other)Returns the intersection of this set with another set.DocSetSortedIntDocSet. intersection(DocSet other)static DocSetDocSetUtil. toSmallSet(BitDocSet bitSet)DocSetBitDocSet. union(DocSet other)abstract DocSetDocSet. union(DocSet other)Returns the union of this set with another set.DocSetSortedIntDocSet. union(DocSet other)Methods in org.apache.solr.search that return types with arguments of type DocSet Modifier and Type Method Description SolrCache<org.apache.lucene.search.Query,DocSet>SolrIndexSearcher. getFilterCache()Methods in org.apache.solr.search with parameters of type DocSet Modifier and Type Method Description protected static voidBitDocSet. andNot(org.apache.lucene.util.FixedBitSet bits, DocSet other)Helper method for andNot that takes FixedBitSet and DocSet.DocSetBitDocSet. andNot(DocSet other)abstract DocSetDocSet. andNot(DocSet other)Returns the documents in this set that are not in the other set.DocSetSortedIntDocSet. andNot(DocSet other)intBitDocSet. andNotSize(DocSet other)intDocSet. andNotSize(DocSet other)Returns the number of documents in this set that are not in the other set.voidSolrIndexSearcher. cacheDocSet(org.apache.lucene.search.Query query, DocSet optionalAnswer, boolean mustCache)Compute and cache the DocSet that matches a query.static voidDocSetUtil. collectSortedDocSet(DocSet docs, org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.Collector collector)static DocSetDocSetUtil. createDocSet(SolrIndexSearcher searcher, org.apache.lucene.search.Query query, DocSet filter)static booleanDocSetUtil. equals(DocSet a, DocSet b)Iterates DocSets to test for equality - slow and for testing purposes only.DocListSolrIndexSearcher. getDocList(org.apache.lucene.search.Query query, DocSet filter, org.apache.lucene.search.Sort lsort, int offset, int len)Returns documents matching bothqueryandfilterand sorted bysort.DocListAndSetSolrIndexSearcher. getDocListAndSet(org.apache.lucene.search.Query query, DocSet filter, org.apache.lucene.search.Sort lsort, int offset, int len)Returns documents matching bothqueryandfilterand sorted bysort.DocListAndSetSolrIndexSearcher. getDocListAndSet(org.apache.lucene.search.Query query, DocSet filter, org.apache.lucene.search.Sort lsort, int offset, int len, int flags)Returns documents matching bothqueryandfilterand sorted bysort.static DocSetDocSetUtil. getDocSet(DocSet docs, SolrIndexSearcher searcher)This variant of getDocSet maps all sets with size numDocs to searcher.getLiveDocs.DocSetSolrIndexSearcher. getDocSet(org.apache.lucene.search.Query query, DocSet filter)Returns the set of document ids matching both the query and the filter.protected DocSetSolrIndexSearcher. getDocSetNC(org.apache.lucene.search.Query query, DocSet filter)SolrIndexSearcher.ProcessedFilterSolrIndexSearcher. getProcessedFilter(DocSet setFilter, List<org.apache.lucene.search.Query> queries)INTERNAL: Processes conjunction (AND) of both args into aSolrIndexSearcher.ProcessedFilterresult.DocSetBitDocSet. intersection(DocSet other)abstract DocSetDocSet. intersection(DocSet other)Returns the intersection of this set with another set.DocSetSortedIntDocSet. intersection(DocSet other)intBitDocSet. intersectionSize(DocSet other)abstract intDocSet. intersectionSize(DocSet other)Returns the number of documents of the intersection of this set with another set.intSortedIntDocSet. intersectionSize(DocSet other)booleanBitDocSet. intersects(DocSet other)abstract booleanDocSet. intersects(DocSet other)Returns true if these sets have any elements in commonbooleanSolrIndexSearcher. intersects(DocSet a, SolrIndexSearcher.DocsEnumState deState)booleanSortedIntDocSet. intersects(DocSet other)intSolrIndexSearcher. numDocs(org.apache.lucene.search.Query a, DocSet b)Returns the number of documents that match bothaandb.intSolrIndexSearcher. numDocs(DocSet a, SolrIndexSearcher.DocsEnumState deState)voidQueryResult. setDocSet(DocSet set)QueryCommandQueryCommand. setFilter(DocSet filter)DocSetBitDocSet. union(DocSet other)abstract DocSetDocSet. union(DocSet other)Returns the union of this set with another set.DocSetSortedIntDocSet. union(DocSet other)intBitDocSet. unionSize(DocSet other)intDocSet. unionSize(DocSet other)Returns the number of documents of the union of this set with another set.Method parameters in org.apache.solr.search with type arguments of type DocSet Modifier and Type Method Description BitDocSetSolrIndexSearcher. offerLiveDocs(Supplier<DocSet> docSetSupplier, int suppliedSize)If some process external toSolrIndexSearcherhas produced a DocSet whose cardinality matches that of `liveDocs`, this method provides such caller the ability to offer its own DocSet to be cached in the searcher. -
Uses of DocSet in org.apache.solr.search.facet
Methods in org.apache.solr.search.facet that return DocSet Modifier and Type Method Description DocSetFacetContext. getBase()static DocSetBlockJoin. toChildren(DocSet parentInput, BitDocSet parentList, DocSet acceptDocs, QueryContext qcontext)acceptDocs will normally be used to avoid deleted documents from being generated as part of the answer DocSet (just use *:*) although it can be used to further constrain the generated documents.static DocSetBlockJoin. toParents(DocSet childInput, BitDocSet parentList, QueryContext qcontext)childInput may also contain parents (i.e.Methods in org.apache.solr.search.facet with parameters of type DocSet Modifier and Type Method Description intSlotAcc. collect(DocSet docs, int slot, IntFunction<SlotAcc.SlotContext> slotContext)Bulk collection of all documents in a slot.ObjectFacetRequest. process(SolrQueryRequest req, DocSet domain)Process this facet request against the given domain of docs.protected voidFacetProcessor. processStats(org.apache.solr.common.util.SimpleOrderedMap<Object> bucket, org.apache.lucene.search.Query bucketQ, DocSet docs, long docCount)FacetContextFacetContext. sub(org.apache.lucene.search.Query filter, DocSet domain)static DocSetBlockJoin. toChildren(DocSet parentInput, BitDocSet parentList, DocSet acceptDocs, QueryContext qcontext)acceptDocs will normally be used to avoid deleted documents from being generated as part of the answer DocSet (just use *:*) although it can be used to further constrain the generated documents.static DocSetBlockJoin. toParents(DocSet childInput, BitDocSet parentList, QueryContext qcontext)childInput may also contain parents (i.e. -
Uses of DocSet in org.apache.solr.search.grouping.collector
Constructors in org.apache.solr.search.grouping.collector with parameters of type DocSet Constructor Description FilterCollector(DocSet filter, org.apache.lucene.search.Collector delegate) -
Uses of DocSet in org.apache.solr.search.grouping.distributed.command
Methods in org.apache.solr.search.grouping.distributed.command with parameters of type DocSet Modifier and Type Method Description QueryCommand.BuilderQueryCommand.Builder. setDocSet(DocSet docSet) -
Uses of DocSet in org.apache.solr.search.join
Constructors in org.apache.solr.search.join with parameters of type DocSet Constructor Description GraphPointsCollector(SchemaField collectField, DocSet skipSet, DocSet leafNodes)
-