I've been asked to add a site search facility to our intranet site I'm
working on at the moment.  I'm currently wondering what my best
options are. The difficulty is that quite a bit of the site content is
stored in extension specific tables.  Is using sphinx my best option?

Hi John,

We've been using Sphinx (by way of the excellent Thinking Sphinx plugin) since switching from Ferret almost 2 years ago and never looked back. It's far more stable and the TS syntax is the best of the bunch, as far as I'm concerned.

The Sphinx Search extension was written for your scenario. In addition to indexing page content, you only need to add a define_index block to your custom models and they'll be indexed as well. At the moment there's a search results page class and associated tags for outputting the results, but you may have to tinker to get the tags to work with models that aren't Pages. There may be a way to abstract that out using the newer excerpts feature of Thinking Sphinx, but I haven't investigated that yet.

http://github.com/digitalpulp/radiant-sphinx-search-extension

Let me know if you have any questions about usage.

Best,
Josh

- - - - - - - - - - - - - - - - - - - - - - -
Josh French
Senior Engineer, Digital Pulp
[email protected] // 212.679.0676 x230

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to