Go to the documentation of this file.
22 #ifndef _SOPRANO_CLUCENE_INDEX_H_
23 #define _SOPRANO_CLUCENE_INDEX_H_
25 #include <QtCore/QString>
240 double getScore(
const Soprano::Node& resource, lucene::search::Query* query );
CLuceneIndex(lucene::analysis::Analyzer *analyzer=0)
static Soprano::Node getResource(lucene::document::Document *document)
Error::ErrorCode removeStatement(const Soprano::Statement &)
Core class of Soprano's exception system.
A Statement instance represents one RDF quadruple.
bool closeTransaction(int id)
#define SOPRANO_INDEX_EXPORT
The CLuceneIndex provides a wrapper around a CLucene index which stores RDF statements.
static QString defaultSearchField()
int resourceCount() const
Error::ErrorCode addStatement(const Soprano::Statement &)
Iterator< QueryHit > search(const QString &query)
lucene::document::Document * documentForResource(const Node &resource)
SOPRANO_EXPORT QUrl Document()
Iterator< QueryHit > search(lucene::search::Query *query)
lucene::analysis::Analyzer * queryAnalyzer() const
void dump(QTextStream &) const
bool open(const QString &folder, bool force=false)
The basic Soprano iterator class.
void setQueryAnalyzer(lucene::analysis::Analyzer *analyzer)
A Node represents one RDF resource.