FileDocCategorySizeDatePackage
NonMatchingScorer.javaAPI DocApache Lucene 2.1.01433Wed Feb 14 10:46:40 GMT 2007org.apache.lucene.search

NonMatchingScorer

public class NonMatchingScorer extends Scorer
A scorer that matches no document at all.

Fields Summary
Constructors Summary
public NonMatchingScorer()

 super(null); 
Methods Summary
public intdoc()

 throw new UnsupportedOperationException(); 
public org.apache.lucene.search.Explanationexplain(int doc)

    Explanation e = new Explanation();
    e.setDescription("No document matches.");
    return e;
  
public booleannext()

 return false; 
public floatscore()

 throw new UnsupportedOperationException(); 
public booleanskipTo(int target)

 return false;