-
Notifications
You must be signed in to change notification settings - Fork 36
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
Customize PageIndex #15
Comments
Hi, as far as I can tell, this is not really in scope of django-cms-search. You'll probably have to look at haystack for this (e.g. https://groups.google.com/forum/?fromgroups#!topic/django-haystack/j6f-z_-XQWE) Kind regards, BTW: this is not really the place to get support, but to report issues and feature requests. |
Hi, thank you for the quick reply! Well, the issue I'm having with django-cms-search is that only whole words are found in the index but not word parts. Autocompletion is also impossible. The quick and dirty solution is to change line 56 in search_indexes.py to
instead of
but I'm looking for a better one. Like for example supplying an own base class for index and doing some magic in Regards |
Ah, got you. I guess we could move the field definitions into a configurable base class. |
Which way would you recommend to customize the page index created by cms_search? I'd like for example to set the text field to EdgeNgramField or make the title field indexable.
The text was updated successfully, but these errors were encountered: