| org.apache.solr.search.DocSlice
DocSlice | public class DocSlice extends DocSetBase implements DocList(Code) | | DocSlice implements DocList as an array of docids and optional scores.
author: yonik version: $Id: DocSlice.java 539098 2007-05-17 20:01:40Z otis $ since: solr 0.9 |
Constructor Summary | |
public | DocSlice(int offset, int len, int[] docs, float[] scores, int matches, float maxScore) Primary constructor for a DocSlice instance. |
matches | final int matches(Code) | | |
maxScore | final float maxScore(Code) | | |
scores | final float[] scores(Code) | | |
DocSlice | public DocSlice(int offset, int len, int[] docs, float[] scores, int matches, float maxScore)(Code) | | Primary constructor for a DocSlice instance.
Parameters: offset - starting offset for this range of docs Parameters: len - length of results Parameters: docs - array of docids starting at position 0 Parameters: scores - array of scores that corresponds to docs, may be null Parameters: matches - total number of matches for the query |
exists | public boolean exists(int doc)(Code) | | |
hasScores | public boolean hasScores()(Code) | | |
matches | public int matches()(Code) | | |
maxScore | public float maxScore()(Code) | | |
memSize | public long memSize()(Code) | | |
offset | public int offset()(Code) | | |
|
|