summaryrefslogtreecommitdiff
path: root/src/assistant/clucene/qindexwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/clucene/qindexwriter.cpp')
-rw-r--r--src/assistant/clucene/qindexwriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/assistant/clucene/qindexwriter.cpp b/src/assistant/clucene/qindexwriter.cpp
index d07ee475a..ab3425697 100644
--- a/src/assistant/clucene/qindexwriter.cpp
+++ b/src/assistant/clucene/qindexwriter.cpp
@@ -50,7 +50,7 @@ QCLuceneIndexWriter::QCLuceneIndexWriter(const QString &path,
: d(new QCLuceneIndexWriterPrivate())
, analyzer(analyzer)
{
- d->writer = new lucene::index::IndexWriter(path,
+ d->writer = new lucene::index::IndexWriter(path,
analyzer.d->analyzer, create, closeDir);
}
@@ -83,7 +83,7 @@ void QCLuceneIndexWriter::addIndexes(const QList<QCLuceneIndexReader*> &readers)
{
using namespace lucene::index;
IndexReader** readerArray = new IndexReader*[readers.count()];
-
+
for (int i = 0; i < readers.count(); ++i)
readerArray[i] = (readers.at(i))->d->reader;
@@ -91,7 +91,7 @@ void QCLuceneIndexWriter::addIndexes(const QList<QCLuceneIndexReader*> &readers)
delete [] readerArray;
}
-void QCLuceneIndexWriter::addDocument(QCLuceneDocument &doc,
+void QCLuceneIndexWriter::addDocument(QCLuceneDocument &doc,
QCLuceneAnalyzer &analyzer)
{
if (doc.d->document)