diff options
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): |