Search index generation

Asked by Cody Stevens

Can you elaborate on what the plans are for the generation of the index file for this feature?

The answer in Question #81840 does not indicate whether the maintenance daemons will be revived or whether a cron will need to be added going forward. As of right now I have a cron creating this file.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Cody Stevens
Solved:
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

It is meant to be regenerated out of a cron job. There is a build-index.sh script in trunk that will be in the next release. This definitely needs to be better documented and mentioned in the install docs.

Revision history for this message
chrismd (chrismd) said :
#2

Regarding the index file's actual utility, honestly it is not really used much right now. Only the 'Search' tab on the main UI page uses it. I've tried implementing various search APIs to use an index but I always end up getting better performance out of walking and globbing the filesystem directly.

Revision history for this message
Cody Stevens (cody-stevens) said :
#3

Thanks! I had set up a cron to generate the file but was curious what future plans were for it.