Uses of Class
gate.creole.annic.SearchException

Packages that use SearchException
gate.creole.annic   
gate.creole.annic.lucene   
gate.persist   
 

Uses of SearchException in gate.creole.annic
 

Methods in gate.creole.annic that throw SearchException
 int Searcher.freq(List<Hit> patternsToSearchIn, String annotationType, boolean inMatchedSpan, boolean inContext)
           
 int Searcher.freq(List<Hit> patternsToSearchIn, String annotationType, String feature, String value, boolean inMatchedSpan, boolean inContext)
           
 int Searcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType)
           
 int Searcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName)
           
 int Searcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName, String value)
           
 Map<String,Integer> Searcher.freqForAllValues(List<Hit> patternsToSearchIn, String annotationType, String feature, boolean inMatchedSpan, boolean inContext)
           
 String[] Searcher.getIndexedAnnotationSetNames()
          Returns an containing names of the indexed annotation sets * Each entry has the following format: corpusName;annotationSetName where, the corpusName is the name of the corpus the annotationSetName belongs to.
 Hit[] Searchable.next(int numberOfPatterns)
           
 Hit[] Searcher.next(int numberOfHits)
          Return the next numberOfHits -1 indicates all
 boolean Searchable.search(String query, Map searchParameters)
           
 boolean Searcher.search(String query, Map<String,Object> parameters)
          Search method that allows searching
 void Searchable.setSearcher(Searcher searcher)
          This method is used to specify the searcher which is used for searchering the index
 

Uses of SearchException in gate.creole.annic.lucene
 

Methods in gate.creole.annic.lucene that throw SearchException
static int StatsCalculator.freq(IndexSearcher searcher, String corpusToSearchIn, String annotationSetToSearchIn, String annotationType)
           
static int StatsCalculator.freq(IndexSearcher searcher, String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName)
           
static int StatsCalculator.freq(IndexSearcher searcher, String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName, String value)
          Allows retriving frequencies for the given parameters.
 int LuceneSearcher.freq(List<Hit> patternsToSearchIn, String annotationType, boolean inMatchedSpan, boolean inContext)
           
static int StatsCalculator.freq(List<Hit> patternsToSearchIn, String annotationType, boolean inMatchedSpan, boolean inContext)
           
 int LuceneSearcher.freq(List<Hit> patternsToSearchIn, String annotationType, String feature, String value, boolean inMatchedSpan, boolean inContext)
           
static int StatsCalculator.freq(List<Hit> patternsToSearchIn, String annotationType, String feature, String value, boolean inMatchedSpan, boolean inContext)
          Allows retrieving frequencies for the given parameters.
 int LuceneSearcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType)
           
 int LuceneSearcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName)
           
 int LuceneSearcher.freq(String corpusToSearchIn, String annotationSetToSearchIn, String annotationType, String featureName, String value)
           
 Map<String,Integer> LuceneSearcher.freqForAllValues(List<Hit> patternsToSearchIn, String annotationType, String feature, boolean inMatchedSpan, boolean inContext)
           
static Map<String,Integer> StatsCalculator.freqForAllValues(List<Hit> patternsToSearchIn, String annotationType, String feature, boolean inMatchedSpan, boolean inContext)
          Calculates frequencies for all possible values of the provided AT.feature
 String[] LuceneSearcher.getIndexedAnnotationSetNames()
          This method returns a set of annotation set names that are indexed.
 Hit[] LuceneSearcher.next(int numberOfHits)
          Return the next numberOfHits -1 indicates all
 boolean LuceneSearchThread.search(String query, int patternWindow, String indexLocation, String corpusToSearchIn, String annotationSetToSearchIn, LuceneSearcher luceneSearcher)
          This method collects the necessary information from lucene and uses it when the next method is called
 boolean LuceneSearcher.search(String query, Map<String,Object> parameters)
          Method retunrs true/false indicating whether results were found or not.
 

Uses of SearchException in gate.persist
 

Methods in gate.persist that throw SearchException
 Hit[] LuceneDataStoreImpl.next(int numberOfPatterns)
          Returns the next numberOfPatterns
 boolean LuceneDataStoreImpl.search(String query, Map searchParameters)
          Search the datastore
 void LuceneDataStoreImpl.setSearcher(Searcher searcher)