org.languagetool.dev.index
Class SearcherResult

java.lang.Object
  extended by org.languagetool.dev.index.SearcherResult

public class SearcherResult
extends Object

The result of a Searcher.


Constructor Summary
SearcherResult(List<MatchingSentence> matchingSentences, int checkedSentences, org.apache.lucene.search.Query relaxedQuery)
           
 
Method Summary
 int getCheckedSentences()
           
 int getDocCount()
           
 List<MatchingSentence> getMatchingSentences()
           
 org.apache.lucene.search.Query getRelaxedQuery()
           
 boolean isResultIsTimeLimited()
           
 void setDocCount(int docCount)
           
 void setResultIsTimeLimited(boolean resultIsTimeLimited)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearcherResult

public SearcherResult(List<MatchingSentence> matchingSentences,
                      int checkedSentences,
                      org.apache.lucene.search.Query relaxedQuery)
Method Detail

getMatchingSentences

public List<MatchingSentence> getMatchingSentences()

getCheckedSentences

public int getCheckedSentences()

getRelaxedQuery

public org.apache.lucene.search.Query getRelaxedQuery()

isResultIsTimeLimited

public boolean isResultIsTimeLimited()

setResultIsTimeLimited

public void setResultIsTimeLimited(boolean resultIsTimeLimited)

setDocCount

public void setDocCount(int docCount)

getDocCount

public int getDocCount()


Copyright © 2013. All Rights Reserved.