3 // DocumentOrderedBinnedRetrieval
5 // 15 October 2007 -- tds
7 // BSD License (http://galagosearch.org/license)
10 #ifndef GALAGO_DOCUMENTORDEREDBINNEDRETRIEVAL_HPP
11 #define GALAGO_DOCUMENTORDEREDBINNEDRETRIEVAL_HPP
13 #include "DocumentOrderedBinnedIndex.hpp"
14 #include "DocumentOrderedBinnedIterator.hpp"
15 #include "indri/ScoredExtentResult.hpp"
17 #include "Retrieval.hpp"
21 class DocumentOrderedBinnedRetrieval
: public Retrieval
{
23 DocumentOrderedBinnedIndex _index
;
24 std::vector
<DocumentOrderedBinnedIterator
*> getIterators( const std::vector
<QueryTerm
>& terms
);
27 std::vector
<indri::api::ScoredExtentResult
> runQuery( const std::vector
<QueryTerm
>& query
,
30 std::string
getDocument( int document
);
32 void openRead( const std::string
& path
);
36 #endif // GALAGO_DOCUMENTORDEREDBINNEDRETRIEVAL_HPP