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();
A Node represents one RDF resource.
A Statement instance represents one RDF quadruple.
Core class of Soprano's exception system.
#define SOPRANO_INDEX_EXPORT
The basic Soprano iterator class.
The CLuceneIndex provides a wrapper around a CLucene index which stores RDF statements.
SOPRANO_EXPORT QUrl Document()