--- a/searchengine/cpix/cpix/inc/private/cpixhits.h Tue Jul 06 15:30:04 2010 +0300
+++ b/searchengine/cpix/cpix/inc/private/cpixhits.h Wed Aug 18 10:53:26 2010 +0300
@@ -70,6 +70,8 @@
* having the worst match.
*/
virtual Document * getDocument(int32_t index) = 0;
+
+ virtual int resetDocumentCache(int32_t index, int32_t count) = 0;
/**
* Returns the amount of hits
@@ -110,7 +112,7 @@
typedef std::map<int32_t, Document*> WrapperMap;
WrapperMap wrappers_;
- void destroyWrappers();
+ void destroyWrappers(int32_t index);
/**
@@ -134,6 +136,8 @@
Document * getDocument(int32_t index);
+
+ int resetDocumentCache(int32_t index, int32_t count);
/**