Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2005
    Location
    Dhaka, Bangladesh
    Posts
    21
    Plugin Contributions
    2

    Default 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/
    Imranul Hoque
    Director @ codeTrio
    www.imranulhoque.com

  2. #2
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default 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');

  3. #3
    Join Date
    Jun 2005
    Location
    Dhaka, Bangladesh
    Posts
    21
    Plugin Contributions
    2

    Default 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
    Imranul Hoque
    Director @ codeTrio
    www.imranulhoque.com

  4. #4
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Codetrio Sphinx Search Version 1.0 Support Thread

    Quote Originally Posted by imranulh View Post
    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.

  5. #5
    Join Date
    Mar 2009
    Posts
    13
    Plugin Contributions
    0

    Default 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?
    https://www.circuitsthyristors.com/ Electronic Components Supplier | Electronic Parts Supplier, order online, same-day shipping, no minimum order. New electronic parts added daily.

  6. #6
    Join Date
    Jul 2012
    Posts
    346
    Plugin Contributions
    0

    Default Re: Codetrio Sphinx Search Version 1.0 Support Thread

    Does not work.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  2. v151 codeTrio Sales Summary Graph v1.0 [Support Thread]
    By imranulh in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 25 Jul 2020, 04:00 AM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. Simple SEO URL (OLD version) [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5053
    Last Post: 30 Jun 2014, 02:42 PM
  5. Search Helper Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 18
    Last Post: 9 Nov 2011, 11:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR