Search frequency?

Created on 12 November 2014, almost 11 years ago
Updated 5 September 2025, about 1 month ago

I set up elasticsearch, installed this module and moved my search_api indexes from SOLR to Elastic.
All went good and currently I'm reindexing my dev-site, on elastic of course.
Search is already starting to work and giving back results, although I don't expect everything to be a drop-in replacement.

Something that caught my eye in the index edit page is:

Collect index statistics
Enable the statistics collection that will help you to better analys what the users are searching for.

I've been thinking about sorting autocomplete results by how often people are searching ( https://www.drupal.org/node/2298863 ) but this seemed to not be possible with SOLR.
Elasticsearch seems to be able to do something like that, or seems to actually have this information somewhere, which is a good start.

Does the afforementioned option/checkbox enable something that I can access from drupal?
The autocomplete module has a hook for altering the order of the results. If, somehow, we can get something from elastic and passed on to Drupal then ordering would be possible.

Hope the above make sense,
thanks

💬 Support request
Status

Postponed: needs info

Version

1.0

Component

Elasticsearch Connector Search API

Created by

🇬🇷Greece bserem

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024