tools/assistant/lib/qhelpsearchindexreader_clucene_p.h
changeset 7 f7bc934e204c
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the Qt Assistant of the Qt Toolkit.
     7 ** This file is part of the Qt Assistant of the Qt Toolkit.
     8 **
     8 **
    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