|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.lucene.stats.SummaryStats
public class SummaryStats
Provides summary statistics for the index.
Statistics are unavailable until collected. Statistics provided are:
Constructor Summary | |
---|---|
SummaryStats()
Construct with a supplied term text. |
Method Summary | |
---|---|
void |
collectStats(StatsRequest request,
IndexReader reader)
Executes the collection of statistics. |
protected long |
determineNumberOfDocsConsidered(IndexReader reader,
OpenBitSet documentFilterBitSet)
Determines the number of documents considered during stats collection. |
long |
getNumberOfDocsConsidered()
Gets the number of documents considered during stats collection. |
protected boolean |
getSortByFrequency()
Gets the flag indicating whether or not results should be sorted by frequency. |
long |
getTimeMillis()
Gets the execution time. |
protected void |
setNumberOfDocsConsidered(long count)
Sets the number of documents considered during stats collection. |
protected void |
setTimeMillis(long millis)
Sets the execution time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SummaryStats()
Method Detail |
---|
public void collectStats(StatsRequest request, IndexReader reader) throws IOException
request
- the active statistics requestreader
- the index reader
IOException
- if an error occurs while communicating with the indexpublic long getNumberOfDocsConsidered()
protected void setNumberOfDocsConsidered(long count)
count
- the number of documents consideredprotected boolean getSortByFrequency()
public long getTimeMillis()
protected void setTimeMillis(long millis)
millis
- the execution time (in milliseconds)protected long determineNumberOfDocsConsidered(IndexReader reader, OpenBitSet documentFilterBitSet)
reader
- the index readerdocumentFilterBitSet
- the bitset represing the subset of documents being cosidered
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |