Sphinx Setup
Posted: Thu May 22, 2014 4:00 pm
I'm having problems with the Sphinx setup. This is what we have so far. Right now it's setup where the tags and search pull the same results.
http://www.domain.com/tag/latina/
http://www.domain.com/search/latina/
RewriteRule ^tag/(.*)/$ /scj/tube/index.php?tag=$1
RewriteRule ^search/(.*)/$ /scj/tube/index.php?tag=$1
Here is the output when indexer is ran:
using config file '/etc/sphinx/sphinx.conf'...
indexing index 'scj_index'...
collected 1708 docs, 0.3 MB
collected 4332 attr values
sorted 0.0 Mvalues, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1708 docs, 258314 bytes
total 2.631 sec, 98176 bytes/sec, 649.15 docs/sec
total 7750 reads, 0.006 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 11 writes, 0.000 sec, 54.1 kb/call avg, 0.0 msec/call avg
rotating indices: successfully sent SIGHUP to searchd (pid=13444).
from which you can see its working. I assume the app ties into sphinx through the scj/sphinx directory, which is being written to
What do you think the error could be?
http://www.domain.com/tag/latina/
http://www.domain.com/search/latina/
RewriteRule ^tag/(.*)/$ /scj/tube/index.php?tag=$1
RewriteRule ^search/(.*)/$ /scj/tube/index.php?tag=$1
Here is the output when indexer is ran:
using config file '/etc/sphinx/sphinx.conf'...
indexing index 'scj_index'...
collected 1708 docs, 0.3 MB
collected 4332 attr values
sorted 0.0 Mvalues, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1708 docs, 258314 bytes
total 2.631 sec, 98176 bytes/sec, 649.15 docs/sec
total 7750 reads, 0.006 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 11 writes, 0.000 sec, 54.1 kb/call avg, 0.0 msec/call avg
rotating indices: successfully sent SIGHUP to searchd (pid=13444).
from which you can see its working. I assume the app ties into sphinx through the scj/sphinx directory, which is being written to
What do you think the error could be?