diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-30 05:03:00 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-30 05:03:00 (GMT) |
commit | dfefc1f8623611f5ce2615a62679f349f7428f75 (patch) | |
tree | 0aaa8d025d2a35d311e9510a7fb8b565882af0fb /secore/datastructures.py | |
parent | a31cd062c96fbbd337d181a33b3890d8c2b5f32b (diff) |
Revert "updated secore to latest"
This reverts commit a31cd062c96fbbd337d181a33b3890d8c2b5f32b.
Diffstat (limited to 'secore/datastructures.py')
-rw-r--r-- | secore/datastructures.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/secore/datastructures.py b/secore/datastructures.py index b7061fa..414625d 100644 --- a/secore/datastructures.py +++ b/secore/datastructures.py @@ -20,7 +20,6 @@ r"""datastructures.py: Datastructures for search engine core. """ __docformat__ = "restructuredtext en" -import errors as _errors import xapian as _xapian import cPickle as _cPickle @@ -118,13 +117,6 @@ class ProcessedDocument(object): # of our locale. if ord(term[0]) >= ord('A') and ord(term[0]) <= ord('Z'): prefix = prefix + ':' - - if len(prefix + term) > 220: - raise _errors.IndexerError("Field %r is too long: maximum length " - "220 - was %d (%r)" % - (field, len(prefix + term), - prefix + term)) - if positions is None: self._doc.add_term(prefix + term, wdfinc) elif isinstance(positions, int): |