Author Topic: Problem With Forum Search  (Read 2291 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblog

  • Administrator
  • *****
  • Posts: 26344
  • Country: au
    • EEVblog
Problem With Forum Search
« on: August 19, 2017, 12:46:16 pm »
Take this topic as an example:
http://www.eevblog.com/forum/repair/ntc-help-needed-for-fluke-pm3082/
With the title: "NTC help needed for Fluke PM3082"

Search for "PM3082" in various ways and the thread doesn't show up at all.

Has anyone had similar issues recently?
I know that SMF search has always been a bit troublesome, but I just want to make sure it's not a recent thing like new threads are not getting indexed or something
 

Online rsjsouza

  • Super Contributor
  • ***
  • Posts: 2360
  • Country: us
    • Vbe - vídeo blog eletrônico
Re: Problem With Forum Search
« Reply #1 on: August 19, 2017, 12:52:01 pm »
there is a recent thread where folks were discussing this.


http://www.eevblog.com/forum/chat/eevblog-search-engine-missing-threads/
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline blueskull

  • Supporter
  • ****
  • Posts: 9785
  • Country: cn
  • Power Electronics Guy
Re: Problem With Forum Search
« Reply #2 on: August 19, 2017, 12:53:48 pm »
Also I want to report another search related bug. Sometimes, search result don't return all results the first time, you need to press search button twice to get much more info.
SIGSEGV is inevitable if you try to talk more than you know. If I say gibberish, keep in mind that my license plate is SIGSEGV.
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 8835
  • Country: us
Re: Problem With Forum Search
« Reply #3 on: August 19, 2017, 01:38:06 pm »
I have to say that I never use the forum search on any forums. I never think it works very well.

For the query given, I would type the following into Google:

site:eevblog.com/forum pm3082
I'm not an EE--what am I doing here?
 

Offline Muttley Snickers

  • Supporter
  • ****
  • Posts: 1748
  • Country: au
Re: Problem With Forum Search
« Reply #4 on: March 17, 2018, 09:43:21 am »
I quite often use the forums search feature and have always found it rather lacking but I now suspect that something has changed of late to make it almost entirely unusable. As can be seen from the images below the first page is where I entered the search term and then on the second page the returned and expected results, the third image shows what is returned after I select page 2 or next as it then displays an "Adjust Search Parameters" page and the prior search results disappear altogether.

One thing I have noticed is that the returned search results are now displayed in reverse chronological order whereas previously I remember them as being all over the place, I think this is an improvement. I have tested the search feature on two different devices with the same result but somebody else may want to verify my findings, or the lack of.     
One smart cookie, better make that two for good measure.
 

Offline klaus11

  • Supporter
  • ****
  • Posts: 151
  • Country: 00
Re: Problem With Forum Search
« Reply #5 on: April 20, 2018, 06:15:05 pm »
Error,function Search the topics appear but when clicking on them the links do not work.

Server Error 500...
HP3458A, HP3245a, Keithley 2000, Fluke 87V, Rigol DP832, TEK TDS5052B, HP33120A
 

Offline gnif

  • Administrator
  • *****
  • Posts: 1023
  • Country: au
Re: Problem With Forum Search
« Reply #6 on: April 20, 2018, 06:56:08 pm »
Error,function Search the topics appear but when clicking on them the links do not work.

Server Error 500...

We just moved servers, there are some things to sort out still. But even still I can not reproduce the problem, what were your search terms?
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission

I volunteer my time to manage this server, if you would like to support this work I have a patreon here:
https://www.patreon.com/gnif
 

Offline klaus11

  • Supporter
  • ****
  • Posts: 151
  • Country: 00
Re: Problem With Forum Search
« Reply #7 on: April 21, 2018, 04:48:48 am »
Error,function Search the topics appear but when clicking on them the links do not work.

Server Error 500...

We just moved servers, there are some things to sort out still. But even still I can not reproduce the problem, what were your search terms?

DPO7104
HP3458A, HP3245a, Keithley 2000, Fluke 87V, Rigol DP832, TEK TDS5052B, HP33120A
 

Offline metrologist

  • Super Contributor
  • ***
  • Posts: 1385
  • Country: 00
Re: Problem With Forum Search
« Reply #8 on: April 21, 2018, 05:20:44 am »
I searched "DPO7104" and got one result, this thread. I clicked it, and here I am...
 

Offline gnif

  • Administrator
  • *****
  • Posts: 1023
  • Country: au
Re: Problem With Forum Search
« Reply #9 on: April 21, 2018, 07:52:05 am »
Works fine for me too, I can not replicate the fault.

I did note however the top right search box is using the old search instead of sphinx, I will fix this today.
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission

I volunteer my time to manage this server, if you would like to support this work I have a patreon here:
https://www.patreon.com/gnif
 

Offline klaus11

  • Supporter
  • ****
  • Posts: 151
  • Country: 00
Re: Problem With Forum Search
« Reply #10 on: April 21, 2018, 01:59:08 pm »
Works fine for me too, I can not replicate the fault.

I did note however the top right search box is using the old search instead of sphinx, I will fix this today.

If it works now there is no error.

I searched "DPO7104" and got one result, this thread. I clicked it, and here I am...

8 results appear  :-+
HP3458A, HP3245a, Keithley 2000, Fluke 87V, Rigol DP832, TEK TDS5052B, HP33120A
 

Offline metrologist

  • Super Contributor
  • ***
  • Posts: 1385
  • Country: 00
Re: Problem With Forum Search
« Reply #11 on: April 21, 2018, 11:40:57 pm »
I guess the forum search only searches in the subforum you are looking at. I get 8 results from home page.

Google gives me 6 results: DPO7104 site http://www.eevblog.com/forum/
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 1336
  • Country: gb
  • 100% Brand New and High Quality, in theory.
Re: Problem With Forum Search
« Reply #12 on: April 29, 2018, 01:44:21 am »
Searching for the words    working on    gave a strange subject: html effect for me, haven't tried a different browser/PC yet.

Beginners / Custom Arduino PCB - not ong class="highlight">workingong> after assembly?

Offline gnif

  • Administrator
  • *****
  • Posts: 1023
  • Country: au
Re: Problem With Forum Search
« Reply #13 on: April 29, 2018, 02:25:19 am »
Searching for the words    working on    gave a strange subject: html effect for me, haven't tried a different browser/PC yet.

Beginners / Custom Arduino PCB - not ong class="highlight">workingong> after assembly?

What part of the forum were you on when you searched, I can't find the same result using the terms you provided.
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission

I volunteer my time to manage this server, if you would like to support this work I have a patreon here:
https://www.patreon.com/gnif
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 1336
  • Country: gb
  • 100% Brand New and High Quality, in theory.
Re: Problem With Forum Search
« Reply #14 on: April 29, 2018, 03:14:42 am »
"What part of the forum were you on when you searched"

The search page LOL, the search in the menu on the left, not the top right search box.
It's hardly a major problem.

Edit: Well I'm glad he found it, and it wasn't just me!
« Last Edit: April 30, 2018, 04:20:16 am by StillTrying »
 

Offline gnif

  • Administrator
  • *****
  • Posts: 1023
  • Country: au
Re: Problem With Forum Search
« Reply #15 on: April 29, 2018, 03:08:53 pm »
I managed to replicate it, and I can confirm it is a bug in SMF.

The search is doing a string replace for words to highlight, you used the terms "working on". The highlight HTML is "<strong>xxx</strong>", but "strong" contains "on". SMF is erroneously replacing the text in it's own tag, generating the output:
<str<strong>on</strong>g>working</str<strong>on</strong>g>

One day developers might learn that "preg_replace" on HTML content is a very bad idea, there is no excuse anymore with PHP's DOMDocument class. Or even simpler, split the content into words (explode) and apply the highlight to the words individually, then join it back together (implode), rather then a mass search/replace.
« Last Edit: April 29, 2018, 03:15:14 pm by gnif »
HostFission - Full Server Monitoring and Management Solutions.
https://hostfission.com/
https://twitter.com/HostFission

I volunteer my time to manage this server, if you would like to support this work I have a patreon here:
https://www.patreon.com/gnif
 
The following users thanked this post: EEVblog, StillTrying

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: 00
Re: Problem With Forum Search
« Reply #16 on: June 06, 2018, 05:57:50 am »
I noticed another weird thing about the search. (At least, it's not the behaviour that I would expect.) The search results are in crazy order. It shows hits from 2017 before ones posted yesterday.

 

Online Mr. Scram

  • Super Contributor
  • ***
  • Posts: 4147
  • Country: 00
  • Display aficionado
Re: Problem With Forum Search
« Reply #17 on: June 06, 2018, 06:00:16 am »
I noticed another weird thing about the search. (At least, it's not the behaviour that I would expect.) The search results are in crazy order. It shows hits from 2017 before ones posted yesterday.
Newer threads aren't necessarily more useful.
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: 00
Re: Problem With Forum Search
« Reply #18 on: June 06, 2018, 06:27:42 am »
I noticed another weird thing about the search. (At least, it's not the behaviour that I would expect.) The search results are in crazy order. It shows hits from 2017 before ones posted yesterday.
Newer threads aren't necessarily more useful.

... so are you going to tell us what is?
 

Online Mr. Scram

  • Super Contributor
  • ***
  • Posts: 4147
  • Country: 00
  • Display aficionado
Re: Problem With Forum Search
« Reply #19 on: June 06, 2018, 06:41:26 am »
... so are you going to tell us what is?
Please leave your grating attitude in the other thread. Nobody is interested in us rubbing egos, no matter how sensual that may sound.

Newer threads may be small threads that died quickly, while older threads may have gone on for much longer and contain more valuable information. Relevance can be a metric, number of responses, number of responding forum members. There's more ways to skin the cat of presenting relevant search results.
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: 00
Re: Problem With Forum Search
« Reply #20 on: June 06, 2018, 07:00:06 am »
My attitude is that you are a very annoying person, and it's really weird that you're following me around. You are now blocked so go rub someone else. Scram, Mr. Scam.

The many many forums I've visited all sort search results by date. I think it's what people expect.
 
The following users thanked this post: Mr. Scram

Offline metrologist

  • Super Contributor
  • ***
  • Posts: 1385
  • Country: 00
Re: Problem With Forum Search
« Reply #21 on: June 06, 2018, 07:24:07 am »
We have the capability to create look-up tables with relative term rankings to score a search result. It's more better...but it is even better to be able to select a sort order too, if that is desired.
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: 00
Re: Problem With Forum Search
« Reply #22 on: June 06, 2018, 08:07:37 am »
Sorry false alarm. In advanced search, you CAN set the sort order of the results.

What about this: The search also seems to return only the most recent hit in a topic.
Example (this 5-page topic): http://www.eevblog.com/forum/projects/suggestions-for-high-resolution-tiltmeter-(inclinometer)-sensor/
Search for the forum for keyword "talyvel". You will see one result from the last page, but the word is mentioned 13 times going back to page 1.
This I think is a problem, especially on those 100 page topics.
« Last Edit: June 06, 2018, 08:15:55 am by timelessbeing »
 

Offline metrologist

  • Super Contributor
  • ***
  • Posts: 1385
  • Country: 00
Re: Problem With Forum Search
« Reply #23 on: June 06, 2018, 11:41:48 pm »
It looks like advanced search is just returning topics, not every message result within a topic. That might be desirable, but I think I recall seeing some search functions have a toggle to show topics or posts. The upper right search box returns all the results from within that topic, and it just returns the topics when searching from the forum index. :-//
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: 00
Re: Problem With Forum Search
« Reply #24 on: June 07, 2018, 05:07:17 am »
It looks like advanced search is just returning topics, not every message
The results takes you to the newest message. If you select "Show results as messages" in the advanced search, the results will also show the contents of the post.

The upper right search box returns all the results from within that topic
That's good to know. At least I can pick a search depending on what I want.
« Last Edit: June 07, 2018, 05:09:55 am by timelessbeing »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf