Author Topic: [FORUM BUG] Search doesn't work properly  (Read 2350 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblog

  • Administrator
  • *****
  • Posts: 24775
  • Country: au
    • EEVblog
Re: [FORUM BUG] Search doesn't work properly
« Reply #25 on: August 31, 2017, 11:58:08 AM »
I hope you didn't turn this off, we switched to sphinx for full text indexing. If its not working we need to fix it, not turn it off.

Yep, sorry, I switched back to Full Index.
Seems to work fine though?
Why did we switch to Sphinx? and how can we be sure it's not going to get disabled again and no one notice until the search gets bad enough?
 

Offline gnif

  • Administrator
  • *****
  • Posts: 861
  • Country: au
Re: [FORUM BUG] Search doesn't work properly
« Reply #26 on: August 31, 2017, 12:54:02 PM »
I hope you didn't turn this off, we switched to sphinx for full text indexing. If its not working we need to fix it, not turn it off.

Yep, sorry, I switched back to Full Index.
Seems to work fine though?
Why did we switch to Sphinx? and how can we be sure it's not going to get disabled again and no one notice until the search gets bad enough?

MySQL is too slow when several searches occur at once, we saw widespread issues when Bing was using the search to index the website, but also when I tested it with a few concurrent searches. MySQL is not designed for this level of search/index, here are the stats from Sphinx:

Code: [Select]
collected 1276001 docs, 865.5 MB
sorted 143.9 Mhits, 100.0% done
total 1276001 docs, 865542064 bytes

So there is 143.9 million search terms being indexed. Services like google, ebay, amazon, etc... all use a full text search index such as Sphinx for datasets like this.

To avoid cPanel messing with it again I have created a system account for sphinx and configured a crontab for it, cPanel will not touch this account as it knows nothing about it.

Some more info on Sphinx (from http://sphinxsearch.com/about/sphinx/):

Quote
  • Indexing performance. Sphinx indexes up to 10-15 MB of text per second per single CPU core, that is 60+ MB/sec per server (on a dedicated indexing machine).
  • Searching performance. Searching through 1,000,000-document, 1.2 GB text collection that we use for everyday development and testing runs at 500+ queries/sec on a 2-core desktop machine with 2 GB of RAM.
  • Scalability. Biggest known Sphinx cluster indexes 25+ billion documents, resulting in over 9TB of data. Busiest known one is Craigslist, serving 300+ million search queries/day.
« Last Edit: August 31, 2017, 12:57:48 PM by gnif »
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 24775
  • Country: au
    • EEVblog
Re: [FORUM BUG] Search doesn't work properly
« Reply #27 on: August 31, 2017, 01:16:52 PM »
Thanks gnif
It's switched back to Sphinx and seems to work again.
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 3368
  • Country: nl
Re: [FORUM BUG] Search doesn't work properly
« Reply #28 on: August 31, 2017, 06:27:16 PM »
PA0PBZ, thanks for checking   :clap:  and apologies are in order as unfortunately I pasted the wrong link    :palm:  and updated my previous comment

Here is the suspect one >  http://www.eevblog.com/forum/thermal-imaging/thermal-camera-related-videos-and-reviews/msg1220335/#msg1220335

For me it doesn't halt but depending on the browser used it takes about 15-30 seconds to embed all 36 YouTube links. Of course if you run out of memory or your connection is slow anything can happen.
Keyboard error: Press F1 to continue.
 
The following users thanked this post: Electro Detective

Offline gnif

  • Administrator
  • *****
  • Posts: 861
  • Country: au
Re: [FORUM BUG] Search doesn't work properly
« Reply #29 on: September 01, 2017, 02:46:31 AM »
PA0PBZ, thanks for checking   :clap:  and apologies are in order as unfortunately I pasted the wrong link    :palm:  and updated my previous comment

Here is the suspect one >  http://www.eevblog.com/forum/thermal-imaging/thermal-camera-related-videos-and-reviews/msg1220335/#msg1220335

For me it doesn't halt but depending on the browser used it takes about 15-30 seconds to embed all 36 YouTube links. Of course if you run out of memory or your connection is slow anything can happen.

Confirmed, slow load of this page is not server related but embedded content related.
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission
 
The following users thanked this post: Electro Detective

Offline Electro Detective

  • Frequent Contributor
  • **
  • Posts: 959
  • Country: au
Re: [FORUM BUG] Search doesn't work properly
« Reply #30 on: September 01, 2017, 07:53:36 PM »
Thanks guys   :-+   that page nukes my browser back to the Ice Age  :o

 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 24775
  • Country: au
    • EEVblog
Re: [FORUM BUG] Search doesn't work properly
« Reply #31 on: September 01, 2017, 10:15:33 PM »
Thanks guys   :-+   that page nukes my browser back to the Ice Age  :o

Took about 10 seconds to load that on my Surface Pro Win 10 Chrome with 30 other tabs open (yes, I have a Tab sickness), but no problems.
 

Offline b_force

  • Frequent Contributor
  • **
  • Posts: 757
  • Country: 00
    • One World Concepts
Re: [FORUM BUG] Search doesn't work properly
« Reply #32 on: September 01, 2017, 11:10:52 PM »
This topic has a very unique "word" in the title;
http://www.eevblog.com/forum/projects/gps-external-antenna-for-v-kel-vk2828u7g5lf/

If I search for "VK2828U7G5LF" (topic subject only), the result is zero.

I just tried that and it now works!  :-+
Thanks!
 :-+ :-+ :-+

Would it also be possible to search on 'newest post/message first'?
Now you can only select newest topic first (which is not the same)

« Last Edit: September 01, 2017, 11:12:27 PM by b_force »
"If you can't explain it simply (or at all), you don't understand it well enough." A. Einstein

http://www.oneworldconcepts.com/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf