projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Not needed.
[SXSI/TextCollection.git]
/
CSA.cpp
diff --git
a/CSA.cpp
b/CSA.cpp
index
754dfa8
..
db96b4b
100644
(file)
--- a/
CSA.cpp
+++ b/
CSA.cpp
@@
-209,6
+209,11
@@
void CSA::MakeStatic()
maketables();
}
+bool CSA::EmptyText(DocId k) const
+{
+ assert(k < (DocId)textLength.size());
+ return (1 == textLength[k].first);
+}
uchar* CSA::GetText(DocId k) const
{