Bugzilla – Bug 2873
build local search indices from an smf service on first boot
Last modified: 2009-11-12 21:55:02 UTC
You need to log in before you can comment on or make changes to this bug.
The changes for bug 2810 removes the indices used by IPS since those are huge files, and the indices are not required for pkg search to work on the live CD. However, having the indices really help with speed up IPS searches. So, we should rebuild them as part of the Installation Completion Tasks. The command to rebuild them is "pkg rebuild-index"
Will work as part of the ICT project
I think we're going to want to skip doing this in ICT in at least some cases, see my comments in bug 2863 on the indexing behavior when memory gets tight.
Recategorizing as this is an installer issue.
Although it is not invoked ICT rebuild_pkg_index() had already exists. I had thought I closed this a while back. I must have missed it. I'm marking this closed.
After communications with Dave Miner, Comay and Brock Pytlik I'm reopening this as a pkg issue. Suggestion from David Comay: Have an smf(5) service rebuild the indices on first boot.
Lowering priority as it's unclear whether this is still something that's desired, at least that we'd want to have on by default. We've noticed that on at least one machine, building the index from scratch takes 6 minutes. Given that remote search is now the default, I think this might be a nice thing to have for advanced users who know about smf in detail and want to turn it on, but if it's not on by default, I think it's low priority.
Improve summary