Some problem on searching on post_content of wp_posts table, if I have a link in my post like some https://www.google.com, it doesn’t render in results the post with link.
]]>After activating the plugin, the load time for my pages increased by 20 to 30 seconds, which, of course, is unacceptable for my users.
Although I really like this plugin, I can’t keep it activated on my site in its current state. I hope to see a fix for this asap.
Hello. The configuration file was created. Path /var/www/mysites/data/www/site.com/sphinxsearchplugin/sphinx /sphinx.conf It feels good. But, when I start indexing, the plugin gives an error: “Indexer: configuration files not found.” Help me please!
]]>My WordPress is producing no search results in spite of all the pages being indexed.
Does this plugin replace the standard wordpress search or does it only work via the included widgets?
$ ./search -c ../sphinx.conf -p “real”
Sphinx 2.1.9-release (rel21-r4761)
Copyright (c) 2001-2014, Andrew Aksyonoff
Copyright (c) 2008-2014, Sphinx Technologies Inc (https://sphinxsearch.com)
using config file ‘../sphinx.conf’…
index ‘wp_main’: query ‘real ‘: returned 130 matches of 130 total in 0.000 sec
displaying matches:
1. document=25773, weight=3628, comment_id=0, post_id=12886, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Tue Jul 22 08:28:03 2014
2. document=3065, weight=3619, comment_id=0, post_id=1532, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Wed Jun 16 08:22:57 2010
3. document=25477, weight=2619, comment_id=0, post_id=12738, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Jun 27 06:44:16 2014
4. document=29773, weight=2619, comment_id=0, post_id=14886, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Feb 6 00:00:23 2015
5. document=1701, weight=2604, comment_id=0, post_id=850, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Mon Jan 11 07:09:49 2010
6. document=4131, weight=2604, comment_id=0, post_id=2065, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Mon Sep 13 08:55:01 2010
7. document=18891, weight=2604, comment_id=0, post_id=9445, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Jun 14 07:38:32 2013
8. document=26167, weight=2604, comment_id=0, post_id=13083, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Mon Jul 21 04:59:15 2014
9. document=29183, weight=2604, comment_id=0, post_id=14591, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Wed Apr 8 07:46:54 2015
10. document=29221, weight=2604, comment_id=0, post_id=14610, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Apr 3 02:00:50 2015
11. document=29253, weight=2604, comment_id=0, post_id=14626, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Mon Mar 30 10:51:46 2015
12. document=29289, weight=2604, comment_id=0, post_id=14644, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Apr 24 08:00:09 2015
13. document=29323, weight=2604, comment_id=0, post_id=14661, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Mon Apr 27 08:00:57 2015
14. document=29359, weight=2604, comment_id=0, post_id=14679, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Wed Apr 29 08:00:20 2015
15. document=29393, weight=2604, comment_id=0, post_id=14696, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri May 1 08:30:23 2015
16. document=29433, weight=2604, comment_id=0, post_id=14716, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Thu Apr 30 08:00:55 2015
17. document=29539, weight=2604, comment_id=0, post_id=14769, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Tue Apr 28 08:00:31 2015
18. document=29689, weight=2604, comment_id=0, post_id=14844, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Tue Apr 21 09:00:59 2015
19. document=34337, weight=2604, comment_id=0, post_id=17168, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Fri Dec 25 06:00:38 2015
20. document=34605, weight=2604, comment_id=0, post_id=17302, ispost=1, iscomment=0, ispage=0, post_type=0, date_added=Tue Jun 7 05:08:26 2016
words:
1. ‘real’: 130 documents, 163 hits
On activating the plugin the 2nd time, I kept having issues with exceeding memory, due to line # 634 [plugin folder]/php/sphinxapi.php
Opening this file up, it was attempting to fread all 768000000 bytes that were loading up from my webpage.
I had to add a buffer size. Hopefully, this doesn’t break anything!
Lines 631
$left = $len;
$buffersize=10000000;
while ( $left>0 && !feof($fp) )
{
$chunk = fread ( $fp, min($buffersize, $left) );
if ( $chunk )
i think there is some issue to correct. On activation this is my output (DEGUG ACTIVE):
Strict Standards: Redefining already defined constructor for class SphinxSearch_Install in //public_html/test/wp-content/plugins/wordpress-sphinx-plugin/php/sphinxsearch_sphinxinstall.php on line 63
Strict Standards: Redefining already defined constructor for class WizardController in //public_html/test/wp-content/plugins/wordpress-sphinx-plugin/php/wizard-controller.php on line 47
Strict Standards: Redefining already defined constructor for class StatsController in //public_html/test/wp-content/plugins/wordpress-sphinx-plugin/php/stats-controller.php on line 54
Strict Standards: Redefining already defined constructor for class TermsEditorController in //public_html/test/wp-content/plugins/wordpress-sphinx-plugin/php/terms-editor-controller.php on line 54
Strict Standards: Redefining already defined constructor for class SphinxService in //public_html/test/wp-content/plugins/wordpress-sphinx-plugin/php/sphinx-service.php on line 37
Notice: Il metodo del costruttore richiamato per WP_Widget in LatestSearchesWidget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in //public_html/test/wp-includes/functions.php on line 3891
Notice: Il metodo del costruttore richiamato per WP_Widget in TopSearchesWidget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in //public_html/test/wp-includes/functions.php on line 3891
Notice: Il metodo del costruttore richiamato per WP_Widget in SearchSidebarWidget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in //public_html/test/wp-includes/functions.php on line 3891
Notice: has_cap è stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin è deprecato. Utilizzare invece ruoli e capacità.. in //public_html/test/wp-includes/functions.php on line 4020
]]>Hi, I have installed your plugin and am running sphinx ok, do you know how I can get it to index pdf attachments on my site? Cheers,
]]>Hi,
It seems a minor update is required to this plugin:
Notice: The called constructor method for WP_Widget in TopSearchesWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/caselaw/domains/dev.caselaw.tk/public_html/wp-includes/functions.php on line 3766
Notice: The called constructor method for WP_Widget in SearchSidebarWidget is deprecated since version 4.3.0! Use
__construct()
]]>
When I run indexing I get the following error for each index:
ERROR: index 'dev_main': sql_connect: Access denied for user 'caselaw'@'localhost' (using password: YES) (DSN=mysql://caselaw:***@localhost:3306/caselaw_dev).
I have checked that the db credentials are correct, and I can connect to the db with the command line “mysql” utility with the same credentials.
I am running PHP 7.
I would really appreciate any suggestions.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi!
In sphinxsearch.php on line 395
add_options_page('Sphinx Search', 'Sphinx Search', 9, basename(__FILE__), array(&$this, 'print_admin_page'));
there is wrong arguments that throw an error
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /vagrant/wordpress/wp-includes/functions.php on line 3842
For fix change ‘9’ for other capability – https://codex.www.ads-software.com/Roles_and_Capabilities
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>I just installed Sphinx plugin v3.9.8, and now PHP is generating these notices:
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/courtdocs/public/wp-includes/functions.php on line 3457
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/courtdocs/public/wp-includes/functions.php on line 3457
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/courtdocs/public/wp-includes/functions.php on line 3457
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/courtdocs/public/wp-includes/functions.php on line 3570
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Does this search “regular” pages too ?
It seems the core search function in WP only searches the “posts” or “portfolios”.
I need the search to ALSO search through “regular” pages.
Does this plugin do that ?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Is it possible to use the plugin and search programmatically?
We have a need to search for posts from within a custom plug-in and would like to know if it can be used programmatically to enhance our existing searching.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>is any way to make Sphinx Search Plugin work with BuddyPress like https://www.ads-software.com/support/plugin/buddypress-global-search ?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi,
Been trying to get this plugin to work but each time it attempts to build the index it errors out, if I try manually I get the below:
using config file ‘/home/example.com/public_html/wp-content/uploads/sphinx/sphinx.conf’…
indexing index ‘dk_delta’…
ERROR: index ‘dk_delta’: sql_range_query: ‘example.com.p.post_title’ isn’t in GROUP BY (DSN=mysql://removed_user:***@localhost:3306/example.com).
total 0 docs, 0 bytes
total 0.003 sec, 0 bytes/sec, 0.00 docs/sec
indexing index ‘dk_main’…
ERROR: index ‘dk_main’: sql_range_query: ‘example.com.p.post_title’ isn’t in GROUP BY (DSN=mysql://removed_user:***@localhost:3306/example.com).
total 0 docs, 0 bytes
total 0.002 sec, 0 bytes/sec, 0.00 docs/sec
indexing index ‘dk_stats’…
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.020 sec, 0 bytes/sec, 0.00 docs/sec
total 1 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 6 writes, 0.000 sec, 0.4 kb/call avg, 0.0 msec/call avg
WARNING: no process found by PID 28443.
WARNING: indices NOT rotated.
…any ideas please?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Good morning, it is impossible to configure the plugin. In the wizard, the settings in step “Install or use existing binaries” error appears:
Installation: Sphinx installation error, try to run this command manually in Terminal:
Command: ./configure –with-mysql –prefix = / home / w / *** / *** / *** / wp-content / uploads / sphinx 2> & 1 at the directory: / home / w / *** / *** / *** / wp-content / uploads / sphinx / sphinx-2.1.9
try running it with sudo if it does not Vork
Please suggest what I’m doing wrong.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>The plugin is working well for users searching on my site. However when I want to search my post drafts nothing comes up even though I can browse to the draft manually.
I am using a VPS and installed sphinx using apt-get
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>I was hoping to piggyback on an existing (so far only toy-sized) Sphinx Search instance, pointing to the existing Sphinx config file and using a new table prefix for sphinx.
Part way through the wizard, I got
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 775499114 bytes) in /home/MEMEME/webapps/appname/wp-content/plugins/wordpress-sphinx-plugin/php/sphinxapi.php on line 634
This made my WordPress instance inaccessible, both via the frontend and the admin panel. Once I disabled the sphinx search plugin through the database, all is well, but without this plugin.
I’m running on webfaction shared hosting with a 512mb ram limit.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi,
I have a problem running “Sphinx Search for WordPress” installed with WordPress 4.1 on Webfaction server. I have exact copy of my local installation (running on ubuntu within virtualbox on windows7 host), in sphinx.conf there are only changes in paths and db access credentials. Running crons tasks to index content goes smoothly on Webfaction, but using search input returns just one result instead of plenty. I sense problem may be of server nature, while using phpinfo (https://opti.pro-glossa.com/p.php), the server introduces as Apache, but looking at htt response headers one can see “Server:nginx”. Please, could any one tell me how to start to debug this case?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi,
Search Terms appear under “New Search Terms” tab. But what is Approved Search Terms and what is the use of it?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Sir,
how can i sort posts after search result.
Sort: Random | Date | Views | Likes | Title
website:
https://softcorehub.com
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Does the plugin work well in a multisite wordpress installation. I.e. allow searching both within the current site and across other sites in the network? If so, does it respect draft status, and private and password protected posts?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hello iam very new with this Plugin i have a small Question about Wizard Setup on 2nd Process…
Its asking there for
I choose
install sphinx Notice that sphinx will be installed at /home/xxxx/xxxxxx/xxxxxxx/wp-content/uploads/sphinx
It gives the error
Installation: Sphinx installation error, try to run this command manually in Terminal:
Command: ./configure –with-mysql –prefix=/home/xxxx/xxxxx/xxxx/wp-content/uploads/sphinx 2>&1 at the directory:/home/xxx/xxxx/xxxx.net/wp-content/uploads/sphinx/sphinx-2.1.9
try running it with sudo if it doesn’t work
what have i to do i never used a Plugin to Precess this what it says what have ii to do i used a Vps server there i have my website hosted
Ps: i “xxx” only the Path for security reasons
Regards
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi, I have 300 posts, with relevanssi and standart search works fine.
But when i disable plugin relevanssi , and enable and configure Sphinx (without errors) I haven’t results. Empty…
This is the indexer output:
indexer -c sphinx.conf –all –rotate
Sphinx 2.1.8-id64-release (rel21-r4675)
Copyright (c) 2001-2014, Andrew Aksyonoff
Copyright (c) 2008-2014, Sphinx Technologies Inc (https://sphinxsearch.com)
using config file ‘sphinx.conf’…
indexing index ‘wp_main’…
collected 194 docs, 0.8 MB
sorted 0.1 Mhits, 100.0% done
total 194 docs, 793485 bytes
total 0.196 sec, 4042452 bytes/sec, 988.34 docs/sec
indexing index ‘wp_delta’…
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.009 sec, 0 bytes/sec, 0.00 docs/sec
skipping non-plain index ‘wp_’…
indexing index ‘wp_stats’…
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.004 sec, 0 bytes/sec, 0.00 docs/sec
total 5 reads, 0.000 sec, 104.2 kb/call avg, 0.0 msec/call avg
total 22 writes, 0.001 sec, 50.2 kb/call avg, 0.0 msec/call avg
WARNING: failed to scanf pid from pid_file ‘/var/www/tripate/wp-content/uploads/sphinx/var/log/searchd.pid’.
WARNING: indices NOT rotated.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>hi, I get broken shortcodes in results search excerpt.
How can I remove it ?
best regards !
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>I searched the first time and got results but when I tired again to search, I got no results. Still getting no results. Uninstalled and re-installed and still got no results in search. Can any one suggest what is wrong?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>I was wondering if it was possible to use sphinx not on the same server as the wordpress site. We have a server that was designed to serve a number of sites in our organization but seems the settings will not allow it to go to a remote server.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>What are binaries and what am i supposed to fill into these spaces
detected system searchd
detected system indexer
by the installation wizard?
Thank you!
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>We are using bbpress and a few other plugins, and I’d like to be able to choose whether or not to include the “forum” post type when searching. We also have some internal-use-only post types I would prefer not to index at all.
Where can I customize or filter those? I’m poking around in the code but not sure where to start.
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>Hi i just installed this plugin because im looking for a search solution for a very large wordpress site containing approximately 1 million posts but the wizard button doesnt seem to do anything in the plugin settings page and when searching with the sphinx widget it doesnt seem to work very well. im not sure if its not compatible with 3.8.1 or?
https://www.ads-software.com/plugins/wordpress-sphinx-plugin/
]]>