nylyon Posted March 6, 2015 Posted March 6, 2015 In the ACP, I have changed the search type to Sphinx. Server address is 127.0.0.1 listening on port 3313. I have taken the sphinx.conf file and placed it in the forum root directory and started sphinx:searchd --c /home/whadmin/public_html/sphinx.confand it starts up fine.When I click "rebuild index" in the ACP I get an error "EX1064 Something went wrong. Please try again."It doesn't appear that the sphinx.conf file is complete compared with 3.4
John 3:16 Posted March 14, 2015 Posted March 14, 2015 I am talking to support right now and spinning my wheels a bit. All they have it seems is V3.x instructions and I cannot get them to work yet.
John 3:16 Posted March 15, 2015 Posted March 15, 2015 Seems there is some issues they are currently working on. It's an RC, all part of the experience
Rhett Posted March 15, 2015 Posted March 15, 2015 I can confirm there are some issues currently with IPS4 and sphinx as of RC5, we have an internal report on this and I'm sure our Dev Team will get it fixed up.
John 3:16 Posted March 15, 2015 Posted March 15, 2015 Thanks Rhett! I am sure the dev team just forgot a semi-colon or something lol.
RevengeFNF Posted March 15, 2015 Posted March 15, 2015 I can confirm there are some issues currently with IPS4 and sphinx as of RC5, we have an internal report on this and I'm sure our Dev Team will get it fixed up. Rhett, Sphinx is set up more or less like in 3.4 or its different this time? In the ACP, it only tell's to upload the sphins.conf and start the daemon, nothing else. No Cron Job needed?
Rhett Posted March 15, 2015 Posted March 15, 2015 It's the same basic setup yes, but it's broken currently, once it's fixed, I'll do a KB about the setup like we had for IPS 3.x
RevengeFNF Posted April 16, 2015 Posted April 16, 2015 Hello @RhettIs Sphinx fixed? Can you make te KB on how to setup it?
nylyon Posted April 16, 2015 Author Posted April 16, 2015 Not working in my test forum. I am waiting for the KB as well to insure it's setup properly.
nylyon Posted April 25, 2015 Author Posted April 25, 2015 My test forum isn't as up to date as my production site. I upgraded Sphinx and IPB, and sphinx is working, and working nicer. Question, how can I change the default sort order to by date? It seems that search is picking up older posts instead of newer ones. In my experience, most members want to see most recent entries in their search results. Sorting that by default would be helpful.
RevengeFNF Posted April 25, 2015 Posted April 25, 2015 My test forum isn't as up to date as my production site. I upgraded Sphinx and IPB, and sphinx is working, and working nicer. Question, how can I change the default sort order to by date? It seems that search is picking up older posts instead of newer ones. In my experience, most members want to see most recent entries in their search results. Sorting that by default would be helpful.Hello, Can you tell the steps you made to configure it?
nylyon Posted April 25, 2015 Author Posted April 25, 2015 Sure can. In my case I needed to re-install Sphinx to upgrade it so:Uninstalled current version of Sphinx (yum -uninstall sphinx)Downloaded fresh version http://sphinxsearch.com/downloads/release/ in my case I am using Centos 6, 64 bit.Installed Sphinx (rpm -i sphinx......)In the ACP (search for search) - enable Sphinx Search. For a server address, I believe you need to specify the local host 127.0.0.1 in most cases. I chose port 3313 and a base path of /var/sphinx.Click save, download the new configuration file and place it at /etc/sphinx/sphinx.conf and start sphinx:searchd --config /etc/sphinx/sphinx.confFinally, go back into the ACP Search panel and click "Rebuild Search Index"That's all I needed to do to get it running and so far it seems to be working well on the test forum.
RevengeFNF Posted April 25, 2015 Posted April 25, 2015 You don't need to create a Cron to run Sphinx every few minute like in IPB 3.4?Im currently using Sphinx 2.0.8.
nylyon Posted April 25, 2015 Author Posted April 25, 2015 I don't think you need any cron jobs. I am using Sphinx 2.2.9 on the test forum and Sphinx 2.0.9 in production. I will upgrade to 2.2.9 when I upgrade to 4.0
RevengeFNF Posted April 26, 2015 Posted April 26, 2015 I tried one time the last version of Sphinx with IPB 3.4 and it didn't work, so i reverted to the 2.0.8 i was using. With IPS4 i will update it.If you don0t need cron jobs anymore its cool. It means we have Real Time Search with Sphinx now.
sobrenome Posted July 7, 2015 Posted July 7, 2015 On IPS 3.4 the support was limited to Sphinx 0.9.1.Does anyone know if IPS 4.0 may use Sphinx 2.2.9?
tjk Posted July 7, 2015 Posted July 7, 2015 On IPS 3.4 the support was limited to Sphinx 0.9.1.Does anyone know if IPS 4.0 may use Sphinx 2.2.9?I setup the latest Sphinx 2.2.9 with 4.0.9.2 and it worked fine, however I'm not s Sphinx expert so getting things like wildcard search to work and other advanced features wouldn't work for me, but that is more of a Sphinx config issue and not a IPS issue.PS if you get it working, please share your Sphinx config.PPS Sure wish they would switch to Elastic Search, must easier to use and scale, and less of a PITA to configure.
ctrlbrk Posted July 7, 2015 Posted July 7, 2015 I reported some bugs to the dev team with Sphinx 2.2.9 which they said they would fix (had to do with utf mb support) but I was also told Sphinx is out of date and basically no longer needed. Eager to test search performance on my IPB 4 board, but stuck waiting for a vb 3.8 to IPB 4 converter first.
sobrenome Posted July 8, 2015 Posted July 8, 2015 I reported some bugs to the dev team with Sphinx 2.2.9 which they said they would fix (had to do with utf mb support) but I was also told Sphinx is out of date and basically no longer needed. Eager to test search performance on my IPB 4 board, but stuck waiting for a vb 3.8 to IPB 4 converter first.sphinx is outdated and no longer needed? Why is that?
Rhett Posted July 8, 2015 Posted July 8, 2015 sphinx is outdated and no longer needed? Why is that?It's not so much as outdated really, however with the development of mysql innodb and full text search that is available on mysql 5.6+ it's often a better option to use mysql. Less headache, less maintenance on keeping sphinx working and up to date etc, however I'm sure there is still a niche for sphinx as well in some cases.
nylyon Posted July 8, 2015 Author Posted July 8, 2015 For my forum, I need to run Sphinx. This is not for performance, but because of an inherent design of the SQL with respect to a hyphen "-". I would love to utilize the native search, but it is insufficient when searching for things like "C-160"
Gnuru Posted July 8, 2015 Posted July 8, 2015 I setup the latest Sphinx 2.2.9 with 4.0.9.2 and it worked fine, however I'm not s Sphinx expert so getting things like wildcard search to work and other advanced features wouldn't work for me, but that is more of a Sphinx config issue and not a IPS issue.PS if you get it working, please share your Sphinx config.PPS Sure wish they would switch to Elastic Search, must easier to use and scale, and less of a PITA to configure.I did set up wildcard search with this config:https://community.invisionpower.com/topic/417194-sphinx-config-wildcard-searching/
RevengeFNF Posted July 8, 2015 Posted July 8, 2015 It's not so much as outdated really, however with the development of mysql innodb and full text search that is available on mysql 5.6+ it's often a better option to use mysql. Less headache, less maintenance on keeping sphinx working and up to date etc, however I'm sure there is still a niche for sphinx as well in some cases.You are right in what you say, but there is one reason i still prefer to use Sphinx. With IPS4, it will create a separate table for the Search, which is very good in terms of performance and reliability, but that also means we have one more big table to fit in the buffers. In my case, that table alone is 1,4Gb, and i prefer my Database to be smaller and use Sphinx instead.
ctrlbrk Posted July 8, 2015 Posted July 8, 2015 You are right in what you say, but there is one reason i still prefer to use Sphinx. With IPS4, it will create a separate table for the Search, which is very good in terms of performance and reliability, but that also means we have one more big table to fit in the buffers. In my case, that table alone is 1,4Gb, and i prefer my Database to be smaller and use Sphinx instead.How many posts on your site? Trying to do the math for what my search table would be after conversion.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.