Codetrio Sphinx Search Version 1.0 Support Thread
Codetrio Sphinx Search is a replacement for the default search of Zencart.
For large zencart stores the default search is slow and the result sometimes may not be relevant.
Sphinx is a popular open source full text search server that can blow your mind with their search speed.
Read more about Sphinx on their official website: http://sphinxsearch.com/
Re: Codetrio Sphinx Search Version 1.0 Support Thread
Great work getting this working.
I have done the initial installation, built up the indexes, etc.
But when I search for anything (known keywords) it returns no results found.
the query.log and searchd.lo show nothing.
I do see 'hits' in the query log when I do a search.
==> query.log <==
[Wed Apr 30 12:32:52.211 2014] 0.000 sec 0.000 sec [ext2/0/ext 0 (0,20)] [ct_search_contents_index] *
[Wed Apr 30 12:33:02.842 2014] 0.000 sec 0.000 sec [ext2/0/ext 0 (0,20)] [ct_search_contents_index] *
When I generated the index, this is what was returned:
using config file '/home/xxxxxxxxxxxx/htdocs/sphinx/sphinx.conf'...
indexing index 'ct_search_contents_index'...
collected 42210 docs, 28.6 MB
sorted 103.7 Mhits, 100.0% done
total 42210 docs, 28568223 bytes
total 94.599 sec, 301991 bytes/sec, 446.19 docs/sec
total 1759 reads, 10.218 sec, 301.7 kb/call avg, 5.8 msec/call avg
total 1198 writes, 2.239 sec, 848.7 kb/call avg, 1.8 msec/call avg
rotating indices: successfully sent SIGHUP to searchd (pid=31816).
Also, 'CodeTrio Search' is returned instead of 'Search Results' or whatever it was before.
That needs to be modified here:
STORE_ROOT/includes/languages/english/ct_search_result.php
Should HEADING_TITLE be changed to Search Results in the above file?
define('NAVBAR_TITLE_1', 'Codetrio Search');
define('NAVBAR_TITLE_2', 'Search Results');
define('HEADING_TITLE', 'Codetrio Search');
define('HEADING_SEARCH_CRITERIA', 'Search Criteria');
Re: Codetrio Sphinx Search Version 1.0 Support Thread
Hi Limitless,
Sorry for the delay. Had been busy and the zencart site has been giving 403 permission denied error lots of time I try to login.
If you have done the installation properly, The only reason would be the sphinx config your sphinx server is using.
Do the following:
1. Kill all the searchd processes running in your machine.
To do that use the following command to list the processes
>> ps aux | grep searchd
You should get the process ids in the list. Then kill the processes by
>> kill PROCESS_ID
2. Start searchd with the correct configuration, by
>> searchd -c YOUR_STORE_ROOT/sphinx/sphinx.conf
You should be able to search now.
You are correct regarding the language file. I did copy the default search result language file. Need to clean the file. I will do that and upload a version soon.
Happy searching
Re: Codetrio Sphinx Search Version 1.0 Support Thread
Quote:
Originally Posted by
imranulh
Hi Limitless,
Sorry for the delay. Had been busy and the zencart site has been giving 403 permission denied error lots of time I try to login.
If you have done the installation properly, The only reason would be the sphinx config your sphinx server is using.
Do the following:
1. Kill all the searchd processes running in your machine.
To do that use the following command to list the processes
>> ps aux | grep searchd
You should get the process ids in the list. Then kill the processes by
>> kill PROCESS_ID
2. Start searchd with the correct configuration, by
>> searchd -c YOUR_STORE_ROOT/sphinx/sphinx.conf
You should be able to search now.
You are correct regarding the language file. I did copy the default search result language file. Need to clean the file. I will do that and upload a version soon.
Happy searching
Yep. I am absolutely using the proper config file. I will step through the config/installation again, but I did not see my searches actually hitting sphinx in the sphinx logs.
Re: Codetrio Sphinx Search Version 1.0 Support Thread
Your module does not work at all.
no matter what keyword you enter to search,it always returns the same result.
my site is http://www.idevopen.com/
do you know what is the problem?
Re: Codetrio Sphinx Search Version 1.0 Support Thread