equal
deleted
inserted
replaced
58 #include "fulltextsearch/qanalyzer_p.h" |
58 #include "fulltextsearch/qanalyzer_p.h" |
59 #include "fulltextsearch/qquery_p.h" |
59 #include "fulltextsearch/qquery_p.h" |
60 |
60 |
61 QT_BEGIN_NAMESPACE |
61 QT_BEGIN_NAMESPACE |
62 |
62 |
63 namespace qt { |
63 namespace fulltextsearch { |
64 namespace fulltextsearch { |
64 namespace clucene { |
65 namespace clucene { |
|
66 |
65 |
67 class QHelpSearchIndexReaderClucene : public QHelpSearchIndexReader |
66 class QHelpSearchIndexReaderClucene : public QHelpSearchIndexReader |
68 { |
67 { |
69 Q_OBJECT |
68 Q_OBJECT |
70 |
69 |
82 const QList<QHelpSearchQuery> &queryList, QCLuceneStandardAnalyzer &analyzer); |
81 const QList<QHelpSearchQuery> &queryList, QCLuceneStandardAnalyzer &analyzer); |
83 void boostSearchHits(const QHelpEngineCore &engine, QList<QHelpSearchEngine::SearchHit> &hitList, |
82 void boostSearchHits(const QHelpEngineCore &engine, QList<QHelpSearchEngine::SearchHit> &hitList, |
84 const QList<QHelpSearchQuery> &queryList); |
83 const QList<QHelpSearchQuery> &queryList); |
85 }; |
84 }; |
86 |
85 |
87 } // namespace clucene |
86 } // namespace clucene |
88 } // namespace fulltextsearch |
87 } // namespace fulltextsearch |
89 } // namespace qt |
|
90 |
88 |
91 QT_END_NAMESPACE |
89 QT_END_NAMESPACE |
92 |
90 |
93 #endif // QHELPSEARCHINDEXREADERCLUCENE_H |
91 #endif // QHELPSEARCHINDEXREADERCLUCENE_H |