--- a/searchengine/cpix/cpix/inc/private/cpixhits.h Mon Jul 26 12:27:31 2010 +0530
+++ b/searchengine/cpix/cpix/inc/private/cpixhits.h Mon Aug 09 10:51:30 2010 +0530
@@ -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);
/**