projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RRR coding to BRW
[SXSI/TextCollection.git]
/
TextCollection.h
diff --git
a/TextCollection.h
b/TextCollection.h
index
6a4eb1c
..
ef0eb72
100644
(file)
--- a/
TextCollection.h
+++ b/
TextCollection.h
@@
-105,7
+105,7
@@
namespace SXSI
*
* Note: Parameters i and j are text positions inside the k'th text.
*/
*
* Note: Parameters i and j are text positions inside the k'th text.
*/
- virtual uchar* GetText(DocId, TextPosition, TextPosition) const = 0;
+
//
virtual uchar* GetText(DocId, TextPosition, TextPosition) const = 0;
/**
* Returns backwards (reverse) iterator to the end of i'th text
*
/**
* Returns backwards (reverse) iterator to the end of i'th text
*
@@
-164,6
+164,12
@@
namespace SXSI
typedef std::vector<std::pair<DocId, TextPosition> > full_result;
virtual full_result FullContains(uchar const *) const = 0;
typedef std::vector<std::pair<DocId, TextPosition> > full_result;
virtual full_result FullContains(uchar const *) const = 0;
+
+ /**
+ *Debug
+ *
+ */
+ virtual TextPosition Lookup(TextPosition) const = 0;
protected:
// Protected constructor; call the static function InitTextCollection().
TextCollection() { };
protected:
// Protected constructor; call the static function InitTextCollection().
TextCollection() { };