You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does it make sense, to move HAYSTACK_XAPIAN_LANGUAGE and HAYSTACK_XAPIAN_WEIGHTING_SCHEME into connection_options (settings.HAYSTACK_CONNECTIONS)?
I've modified the backend for a project, in order to switch stemming language with the index. Comes in handy for multi-language sites and somehow I believe it fits in there:
Does it make sense, to move HAYSTACK_XAPIAN_LANGUAGE and HAYSTACK_XAPIAN_WEIGHTING_SCHEME into connection_options (settings.HAYSTACK_CONNECTIONS)?
I've modified the backend for a project, in order to switch stemming language with the index. Comes in handy for multi-language sites and somehow I believe it fits in there:
xapian_backend.py, LOC 154:
self.language = connection_options.get('HAYSTACK_XAPIAN_LANGUAGE', 'english')
self.weighting_scheme = connection_options.get('HAYSTACK_XAPIAN_WEIGHTING_SCHEME', None)
from django.config import settings may be removed in this case
The text was updated successfully, but these errors were encountered: