PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/tags/1.0.1/src/org/getopt/luke/AccessibleHitCollector.java

http://luke.googlecode.com/
Java | 19 lines | 13 code | 6 blank | 0 comment | 0 complexity | 63481ccf776bc4b756b0a2a0e7f80f36 MD5 | raw file
 1package org.getopt.luke;
 2
 3import org.apache.lucene.search.Collector;
 4import org.apache.lucene.search.Scorer;
 5
 6public abstract class AccessibleHitCollector extends Collector {
 7  protected Scorer scorer;
 8  protected boolean shouldScore;
 9  protected int docBase;
10  protected boolean outOfOrder;
11
12  public abstract int getTotalHits();
13  
14  public abstract int getDocId(int pos);
15  
16  public abstract float getScore(int pos);
17  
18  public abstract void reset();
19}