Closed marcelometal closed 10 years ago
Support to ES version 0.90.12. Should support latest stable version instead -- namely, 1.1.1. There are some breaking changes as discussed in http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html
A violation's reviews could be ordered by URL instead of score.
Ordering violation's reviews by completed_date DESC
Investigating elasticsearch/elasticsearch#5853 and how to get around it.
I'm dropping function_score
in favor of sort
. Ultimately, it won't be much different and perhaps even faster.
Some premises for this ticket:
a) The search MUST be done by a provider set in the configuration file (ElasticSearchProvider and NoExternalSearchProvider should be built-in with NoExternalSearchProvider being what we have today); b) Both notifying the index and retrieving data from the index MUST be done by this provider; c) Switching providers should be as simple as changing the config file; d) All the relevant search queries should be in the search provider, being forwarded from the Handler in the API.