22 #ifndef _SOPRANO_CLUCENE_INDEX_H_
23 #define _SOPRANO_CLUCENE_INDEX_H_
25 #include <QtCore/QString>
82 CLuceneIndex( lucene::analysis::Analyzer* analyzer = 0 );
99 bool open(
const QString& folder,
bool force =
false );
124 void setQueryAnalyzer( lucene::analysis::Analyzer* analyzer );
134 lucene::analysis::Analyzer* queryAnalyzer()
const;
144 int resourceCount()
const;
159 int startTransaction();
169 bool closeTransaction(
int id );
240 double getScore(
const Soprano::Node& resource, lucene::search::Query* query );
258 static QString defaultSearchField();