The Wanlorn (
the_wanlorn) wrote in
dw_dev2011-09-07 08:08 pm
Entry tags:
Searching on Hacks?
Is there a way to turn on content searching on our dreamhacks? I'm trying to test Bug 1847, and I'm getting the "Sorry, content searching is not configured on this server." error. Is there a way for me to configure this?
If not! Should I upload the patch that I think might possibly work as something for someone else to work off of if they want to do the bug, or to be reviewed, or just let it lie?
If not! Should I upload the patch that I think might possibly work as something for someone else to work off of if they want to do the bug, or to be reviewed, or just let it lie?

no subject
I've refactored the search worker, and then uploaded an additional patch to Bug 1847 which just returns as "search" results the latest 20 entries of the journal being searched, suitable for use with things like these...
no subject
no subject
# if no gearman, bailmy $gc = LJ::gearman_client();
return "Sorry, content searching is not configured on this server.\n"
unless $gc && @LJ::SPHINX_SEARCHD;
I am pretty sure that it's the gearman_client call, but once I found that, I... have no clue how to fake it. Do you have any pointers?
no subject
I think what I did was something like this:
Then I chose a port nobody else was using (but I think the documented procedure probably ought to involve asking
My config-local.pl has:
Let's see, I've also had to do this sort of thing for mogilefs, theschwartz, workers in general, memcached, and probably something else I'm forgetting. I have no doubt that it's possible to do the same for sphinx without needing root privileges, but it does seem like a bit of a bother.
no subject
Let me see if I can get her attention directed towards here!