gordon77
Posts: 3340
Joined: Sun Aug 05, 2012 3:12 pm

How does the forum search work?

Mon Aug 13, 2018 5:22 pm

If l enter a search eg 'OpenCV' and search it lists some results, but what order are they in?

If l select Past Month or Past Week it always shows no results, why?

mattmiller
Posts: 1947
Joined: Thu Feb 05, 2015 11:25 pm

Re: How does the forum search work?

Mon Aug 13, 2018 7:59 pm

Its not a forum specific search - its just farms the request out to the DuckDuckGo search engine

(This is due to the built-in forum search being considered as not being very good)

So, your at the mercy of whatever DuckDuckGo thinks are the best results

User avatar
rpiMike
Posts: 478
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How does the forum search work?

Mon Aug 13, 2018 8:03 pm

I always use google's site search:

Paste the following into google: OpenCV site:raspberrypi.org/forums

https://www.google.com/search?q=OpenCV+ ... org/forums

drgeoff
Posts: 8442
Joined: Wed Jan 25, 2012 6:39 pm

Re: How does the forum search work?

Mon Aug 13, 2018 8:32 pm

To confine Google's search to a specific site prefix the search terms with site:site_url. eg

Code: Select all

site:raspberrypi.org opencv

W. H. Heydt
Posts: 8780
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: How does the forum search work?

Tue Aug 14, 2018 4:48 am

gordon77 wrote:
Mon Aug 13, 2018 5:22 pm
... but what order are they in?
One of the unsung characteristics of relational databases is that you cannot predict the order of the rows returned unless you specify an order. I have seen experienced programmers get tripped up over this. I would not expect a search engine to sort items in any sort of order that you might think desirable simply because asking the DB engine to sort rows takes time and machine cycles.

gordon77
Posts: 3340
Joined: Sun Aug 05, 2012 3:12 pm

Re: How does the forum search work?

Tue Aug 14, 2018 7:34 am

Summary..pretty useless !

Heater
Posts: 9709
Joined: Tue Jul 17, 2012 3:02 pm

Re: How does the forum search work?

Tue Aug 14, 2018 8:03 am

gordon77,
Summary..pretty useless !
Traditionally, as they web started to boom, a lot of web sites were created using the "LAMP" stack, Linux, Apache, MySql, PHP.

Search fascilities on such sites were universally terrible. Because free text search on a relational database is hard to do.

When I was on a project that hit this problem in 2000 or so we employed a free text search database called TRIP that had been used for many years to index and search articles in newspapers and magazines. An expensive solution.

Today, forums such as this are still built on LAMP stacks or similar and the search is terrible.

Which is why such forums delegate the search box to google or whoever.

Generally I find it quicker and easier to just go straight to google in another browser tab.

What order are the results in? Well, see for example where google search began, with the PageRank algorithm: https://en.wikipedia.org/wiki/PageRank

Things have moved on since then. Page rank is not the primary means of pulling out search results. After all Google has tons of info an many websites via it's google analytics. They know what people are visiting and what they are reading.

Some big "data analytics"/"deep learning"/"AI" at google will decide what is of interest to you.

And there are people who specialize in gaming the system to get more clicks on their sites. See "Search Engine Optimization"

I do which though that there was a way to get new info first. Some how sort by age of the article, discard anything over a certain age.

User avatar
Imperf3kt
Posts: 1201
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How does the forum search work?

Tue Aug 14, 2018 8:34 am

Heater wrote:
Tue Aug 14, 2018 8:03 am
I do which though that there was a way to get new info first. Some how sort by age of the article, discard anything over a certain age.
You haven't looked very hard, I take it? Many search engines (such as Google, Bing, etc) have a sort by feature, and time is one of them.
User experiencing technical difficulties.

DirkS
Posts: 8859
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How does the forum search work?

Tue Aug 14, 2018 9:14 am

Imperf3kt wrote:
Tue Aug 14, 2018 8:34 am
You haven't looked very hard, I take it? Many search engines (such as Google, Bing, etc) have a sort by feature, and time is one of them.
I get the feeling you're confusing 'sorting' and 'filtering'

User avatar
Imperf3kt
Posts: 1201
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How does the forum search work?

Wed Aug 15, 2018 1:31 am

Both Bing and Google will do both. Whats the issue?
User experiencing technical difficulties.

DirkS
Posts: 8859
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How does the forum search work?

Wed Aug 15, 2018 6:13 am

Imperf3kt wrote:
Wed Aug 15, 2018 1:31 am
Both Bing and Google will do both. Whats the issue?
How do you sort a google search by time?
I cannot find an option for that...

Heater
Posts: 9709
Joined: Tue Jul 17, 2012 3:02 pm

Re: How does the forum search work?

Wed Aug 15, 2018 6:16 am

DirkS,
How do you sort a google search by time?
You better google that :)

Joking aside, I was having trouble finding out how to do it as well. I'll try again after a few morning coffees.

User avatar
Imperf3kt
Posts: 1201
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How does the forum search work?

Wed Aug 15, 2018 11:36 pm

DirkS wrote:
Wed Aug 15, 2018 6:13 am
Imperf3kt wrote:
Wed Aug 15, 2018 1:31 am
Both Bing and Google will do both. Whats the issue?
How do you sort a google search by time?
I cannot find an option for that...
Directly under the search bar, where you input your query, you'll see a bunch of links - images, video, shopping, etc. On the far right of this, there will be 'search tools', click it.
You should now see a large arrangement of sort/filter tools.
Bing and other searcgh engines, have similar features, some of them more useful than others.

Note that Google constantly changes. There used to be an option to seach a particular date range, this now seems to be replaced with past 24 hours, past week, past month, etc.
User experiencing technical difficulties.

Heater
Posts: 9709
Joined: Tue Jul 17, 2012 3:02 pm

Re: How does the forum search work?

Thu Aug 16, 2018 3:08 am

When I go to www.google.com there are no such links to be seen under the search box. Sometimes I get a couple of icons for image search or search by voice.

Edit: I do have a menu bar thing at the bottom of the page where I can select "advanced search". There are no date/time related filtering options to be found in there.

User avatar
Imperf3kt
Posts: 1201
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How does the forum search work?

Thu Aug 16, 2018 3:39 am

Heater wrote:
Thu Aug 16, 2018 3:08 am
When I go to www.google.com there are no such links to be seen under the search box. Sometimes I get a couple of icons for image search or search by voice.

Edit: I do have a menu bar thing at the bottom of the page where I can select "advanced search". There are no date/time related filtering options to be found in there.
Maybe it differs by region?
This is what I see on my phone (on my computer I actually see many more options)

http://imagizer.imageshack.com/img923/9747/52BSb6.png
(yes, that $7300 Pi is legitimate)

And then there's Bing
http://imagizer.imageshack.com/img923/7431/BCcrMp.png

Finally, to keep the thread on track, duckduckgo
http://imagizer.imageshack.com/img921/797/6Ym6QV.png
User experiencing technical difficulties.

DirkS
Posts: 8859
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How does the forum search work?

Thu Aug 16, 2018 7:24 am

Imperf3kt wrote:
Wed Aug 15, 2018 11:36 pm
Directly under the search bar, where you input your query, you'll see a bunch of links - images, video, shopping, etc. On the far right of this, there will be 'search tools', click it.
You should now see a large arrangement of sort/filter tools.
Nope, Just the usual filter tools. No sorting stuff visible.
Can you post a screenshot?

User avatar
Imperf3kt
Posts: 1201
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How does the forum search work?

Thu Aug 16, 2018 9:43 am

DirkS wrote:
Thu Aug 16, 2018 7:24 am
Can you post a screenshot?
There's three directly above your reply posted as links.

Here's a screenshot showing filtered by date and sorted by date:
Image
User experiencing technical difficulties.

mattmiller
Posts: 1947
Joined: Thu Feb 05, 2015 11:25 pm

Re: How does the forum search work?

Thu Aug 16, 2018 9:56 am

I think I've squared this circle (with respect to a Google search - still can't see how to do it with DuckDuckGo)

it seems once you've selected a date range THEN you get the option of sorting by date

it doesn't seem to appear until you do a date range selection

PS But it actually doesn't find this thread if you try

Code: Select all

opencv site:raspberrypi.org/forums
:(

DirkS
Posts: 8859
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How does the forum search work?

Thu Aug 16, 2018 12:58 pm

Imperf3kt wrote:
Thu Aug 16, 2018 9:43 am
DirkS wrote:
Thu Aug 16, 2018 7:24 am
Can you post a screenshot?
There's three directly above your reply posted as links.

Here's a screenshot showing filtered by date and sorted by date:
Image
Must be google 'on the move'...
I use past year / month very often and today is the first time the sort option popped up :roll:

Return to “General discussion”

Who is online

Users browsing this forum: Greg Erskine, pcmanbob, soydepr and 42 guests