public class XPointValues
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getDocCount(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
Return the cumulated number of docs that have points across all leaves
of the given
IndexReader. |
static byte[] |
getMaxPackedValue(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
Return the maximum packed values across all leaves of the given
IndexReader. |
static byte[] |
getMinPackedValue(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
Return the minimum packed values across all leaves of the given
IndexReader. |
static long |
size(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
Return the cumulated number of points across all leaves of the given
IndexReader. |
public static long size(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
throws java.io.IOException
IndexReader. Leaves that do not have points for the given field
are ignored.java.io.IOExceptionPointValues.size(String)public static int getDocCount(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
throws java.io.IOException
IndexReader. Leaves that do not have points for the
given field are ignored.java.io.IOExceptionPointValues.getDocCount(String)public static byte[] getMinPackedValue(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
throws java.io.IOException
IndexReader. Leaves that do not have points for the given field
are ignored.java.io.IOExceptionPointValues.getMinPackedValue(String)public static byte[] getMaxPackedValue(org.apache.lucene.index.IndexReader reader,
java.lang.String field)
throws java.io.IOException
IndexReader. Leaves that do not have points for the given field
are ignored.java.io.IOExceptionPointValues.getMaxPackedValue(String)