public class DocSetUtil extends Object
Constructor and Description |
---|
DocSetUtil() |
Modifier and Type | Method and Description |
---|---|
static DocSet |
createDocSet(SolrIndexSearcher searcher,
Query query,
DocSet filter) |
static DocSet |
createDocSet(SolrIndexSearcher searcher,
Term term) |
static DocSet |
createDocSetGeneric(SolrIndexSearcher searcher,
Query query) |
static boolean |
equals(DocSet a,
DocSet b)
Iterates DocSets to test for equality - slow and for testing purposes only.
|
static int |
smallSetSize(int maxDoc)
The cut-off point for small sets (SortedIntDocSet) vs large sets (BitDocSet)
|
static DocSet |
toSmallSet(BitDocSet bitSet) |
public static int smallSetSize(int maxDoc)
public static boolean equals(DocSet a, DocSet b)
public static DocSet createDocSet(SolrIndexSearcher searcher, Query query, DocSet filter) throws IOException
IOException
public static DocSet createDocSetGeneric(SolrIndexSearcher searcher, Query query) throws IOException
IOException
public static DocSet createDocSet(SolrIndexSearcher searcher, Term term) throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.