-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reduce the size of search results #1151
Comments
Also related to efforts to reduce page load time. |
It doesn't look like there's a way to add a |
Hmm, bummer, @antidipyramid. |
@hancush I was able to get Elastic to exclude the text fields of bills from search results by customizing Haystack's Elastic backend. I deployed that branch and found that, again, it reduced memory usage somewhat but not enough to be considered a fix. |
One search result can be several MB in size. That can really add up! I suspect the biggest culprits are the full text fields. Figure out a way to index that information, but not return it in the results. Looks like ElasticSearch provides for this, if django-haystack does not: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html
The text was updated successfully, but these errors were encountered: