Lazarus

Miscellaneous => Other => Topic started by: engkin on August 01, 2021, 07:43:58 pm

Title: Missing results in a search
Post by: engkin on August 01, 2021, 07:43:58 pm
I was looking for a specific forum thread, so I tried the following two words that should've located it quickly in the search box:
engkin jsontools

To my surprise there were no results! I switched to Google and used:
"engkin" "jsontools" site:forum.lazarus.freepascal.org

Again, no results. I eventually found the post but not by using the search box. It is a 2 months old thread and had a recent activity. I tried other search terms, including the title, none of that helped locating the post.

The title is:
JSONTools error while parsing

Are some of the forum posts out of search scope, maybe unintentionally?
Title: Re: Missing results in a search
Post by: winni on August 01, 2021, 07:52:55 pm
Put  jsontools in the search box

Put engkin in the user box

There you are

Winni
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 07:54:11 pm
I was looking for a specific forum thread, so I tried the following two words that should've located it quickly in the search box:
engkin jsontools

To my surprise there were no results! I switched to Google and used:
"engkin" "jsontools" site:forum.lazarus.freepascal.org

Again, no results. I eventually found the post but not by using the search box. It is a 2 months old thread and had a recent activity. I tried other search terms, including the title, none of that helped locating the post.

The title is:
JSONTools error while parsing

Are some of the forum posts out of search scope, maybe unintentionally?

Hello.

Searching for JSONTools error while parsing on Lazarus forum I found this (see picture):
With this topic and [Solved]JSONTools error while parsing

https://forum.lazarus.freepascal.org/index.php/topic,54850.msg407759.html

Title: Re: Missing results in a search
Post by: Martin_fr on August 01, 2021, 07:54:30 pm
All there.

Some quick tests... it *appears" as if: Search only searches the body.

You can go to advanced search, it has a checkbox to include the subject.
If you want to match the person, then you also need advanced search, and fill in the field "by user".

And if you want it a bit faster, set the "message age" to max 300 days.
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 08:13:18 pm
Let me try again.

....

How do I find that post using engkin and jsontools?

Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 08:32:03 pm
Let me try again.

....

How do I find that post using engkin and jsontools?

Yes, indeed, for good result, minimum 2 words are needed.

If you try with Search:jsontools error and By user:engkin, the post will appear.
Title: Re: Missing results in a search
Post by: lucamar on August 01, 2021, 08:38:12 pm
How do I find that post using engkin and jsontools?

Click either the "Search" item in the top menu or "Advanced search" in the "search" side box. Then ... a couple images are worth two thousand words? ;)

It should find the first post, though for some strange reason it seems it doesn't :o
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 08:45:47 pm
How do I find that post using engkin and jsontools?

Click either the "Search" item in the top menu or "Advanced search" in the "search" side box. Then ... a couple images are worth two thousand words? ;)

It should find the first post, though for some strange reason it seems it doesn't :o

Hum, here with Firefox, it appears only if Search in topic subjects only is enabled.
Strange, no?
Title: Re: Missing results in a search
Post by: lucamar on August 01, 2021, 08:50:43 pm
I had that checked but it returned only one of the answer-posts. I'm using Chromium but it shouldn't matter which browser you use since the search is done by the server. So yeah, strange.
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 08:58:42 pm
I had that checked but it returned only one of the answer-posts. I'm using Chromium but it shouldn't matter which browser you use since the search is done by the server. So yeah, strange.

Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:17:08 pm
If you try with Search:jsontools error and By user:engkin, the post will appear.

It did not bring the missing thread, but it did show this one.
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 09:18:01 pm
It seems to me that if you do a "normal" search, it only search inside the content of the posts.
And if Search in topic subjects only is enable the search is only done in title of posts.

If it is the case, maybe add a warning "Normal search is in content only, not in title."

Or add also a checkbox Search in content only.

My, of course, 0.0000001 cent.

Fre;D
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 09:29:10 pm
If you try with Search:jsontools error and By user:engkin, the post will appear.

It did not bring the missing thread, but it did show this one.

If you enable Search in topic subjects only, the missing thread will appear.
It seems that search is exclusive, or in content of post (default) or in title of post.

Not both.
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:30:31 pm
How do I find that post using engkin and jsontools?

Click either the "Search" item in the top menu or "Advanced search" in the "search" side box. Then ... a couple images are worth two thousand words? ;)

It should find the first post, though for some strange reason it seems it doesn't :o

This as you show did bring the missing post. I just don't like the idea that the search results are not complete. Moreover Google search fails to find the missing thread.  %)
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:31:37 pm
If you try with Search:jsontools error and By user:engkin, the post will appear.

It did not bring the missing thread, but it did show this one.

If you enable Search in topic subjects only, the missing thread will appear.

Yes, finally!!

Is this the intended behavior?
Title: Re: Missing results in a search
Post by: Martin_fr on August 01, 2021, 09:33:23 pm
No, idea. You need to check at the smf site. https://www.simplemachines.org/

Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:34:36 pm
Put  jsontools in the search box

Put engkin in the user box

There you are

Did you really get the missing post this way? Did not work on my side.
Title: Re: Missing results in a search
Post by: Fred vS on August 01, 2021, 09:37:06 pm
If you try with Search:jsontools error and By user:engkin, the post will appear.

It did not bring the missing thread, but it did show this one.

If you enable Search in topic subjects only, the missing thread will appear.

Yes, finally!!

Is this the intended behavior?

Imho, like explained in previous post,  It seems that search is exclusive, or in content of post (default) or in title of post.
But not in both.

I find it a little strange.

(But all is strange at the moment).
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:38:32 pm
No, idea. You need to check at the smf site. https://www.simplemachines.org/

Honestly, I usually use Google, only when it failed I tried with the search box.
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 09:44:53 pm
(But all is strange at the moment).

I had similar problems in the past and I assumed it was my memory failing me, not this time.


Thank you all for clearing my doubts, and helping me understand the limitations of the search box.
Title: Re: Missing results in a search
Post by: GAN on August 01, 2021, 10:47:18 pm
DuckDuckGo
Title: Re: Missing results in a search
Post by: engkin on August 01, 2021, 11:02:16 pm
DuckDuckGo

Thank you. Because of this, I'll probably switch to using them as my primary search engine.
TinyPortal © 2005-2018