Searched defs:reader (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/plugins/fts-lucene/
H A DSnowball.cc57 TokenStream* SnowballAnalyzer::tokenStream(const TCHAR* fieldName, CL_NS(util)::Reader* reader) { argument
58 return this->tokenStream(fieldName,reader,false);
63 TokenStream* SnowballAnalyzer::tokenStream(const TCHAR* fieldName, CL_NS(util)::Reader* reader, bool deleteReader) { argument
64 BufferedReader* bufferedReader = reader->__asBufferedReader();
68 result = _CLNEW StandardTokenizer( _CLNEW FilteredBufferedReader(reader, deleteReader), true );
80 TokenStream* SnowballAnalyzer::reusableTokenStream(const TCHAR* fieldName, CL_NS(util)::Reader* reader) { argument
82 prevstream = this->tokenStream(fieldName, reader);
H A Dlucene-wrapper.cc69 IndexReader *reader; member in struct:lucene_index
166 if (index->reader != NULL) {
168 index->reader->close();
172 _CLDELETE(index->reader);
285 if (index->reader != NULL) {
295 index->reader = IndexReader::open(index->path);
316 index->searcher = _CLNEW IndexSearcher(index->reader);
397 if (index->reader == NULL) {
406 *count_r = index->reader->numDocs();
908 index->reader
[all...]

Completed in 14 milliseconds