New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Term too long issue #77
Comments
I've created quick fix, it just ignores such error and I think documents with invalid terms are not added to index completely.
|
This is actually raised by Xapian itself. I've left the exception to bubble up so it's possible for a developer to see the issue. The solution is to ensure your terms are no longer than 245 characters, unfortunately. |
Fixes notanumber#77 Not handling this exception breaks the [re]building the index.
@notanumber @jorgecarleitao What do you think about this Alir3z4@a249b46 ? the text document is usually more than 245, I know it's raised from xapian itself but this shouldn't break the [re]building the index. |
When I run
manage.py rebuild_index
I get following error:Do you have any idea how to handle this problem?
Thanks.
P.S.
python 2.6
python-xapian (debian) 1.2.4-1
libxapian (debian) 1.2.5
recent versions of django, haystack-xapian, django-xapian
The text was updated successfully, but these errors were encountered: