X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TextCollection.h;h=ef0eb7210e57d4d72d8af50ac1be82097f6671c0;hb=dbd62fe27e80414b4cf4fbf512ad1910916e6967;hp=6a4eb1cc4252382c8092840c6f64a0d6c4e23702;hpb=dee0161e4f31f06e9389db9986766395c1b1d2b8;p=SXSI%2FTextCollection.git diff --git a/TextCollection.h b/TextCollection.h index 6a4eb1c..ef0eb72 100644 --- 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. */ - 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 * @@ -164,6 +164,12 @@ namespace SXSI typedef std::vector > 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() { };