Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Sphinx


Reply

1376 Views

Avatar
Fred C.

13 December 2009 at 9:00am (Last edited: 13 December 2009 9:04am), Community Member, 18 Posts

I hope someone can update the sphinx [url=http://doc.silverstripe.org/doku.php?id=modules:sphinx]documentation[/url] with a bit of how-to. Here are the stumbling blocks I've run into:

1) With the SphinxSearch decorator applied to SiteTree & File, publishing is broken.
- [Warning] reset() [function.reset]: Passed variable is not an array or object at Line 105 in /usr/local/www/apache22/data/sapphire/core/ClassInfo.php

2) I've no idea how to use the module to run the indexer.
- where does the module write its config file, apart from the /dev/build screen?
- what has to be done to re-run the index when content changes

I'm running the 0.1 tag of the sphinx module and have done my own sphinx integration before, but only to the extent that we can periodically run the indexer via cron, and manually wrote our SQL query to feed the indexer.

Once I understand the issue better, I'll file a bug. Until then, help!