1. Forum search

I just did a search on a subject in the forum, but find it quite confusing that
the posts are not listed in chronological order, but mixed completely at random,
e.g.

# 20 Date: 2005 Jun 29 17:23
# 21 Date: 2005 Dec 15 11:50
# 22 Date: 2005 Aug 11 21:54
# 23 Date: 2006 Jan 7 19:40
# 24 Date: 2005 Jul 17 21:07
# 25 Date: 2005 Dec 19 20:38

Assuming the data are stored in a linear format, it would even seem illogical
code wise to end up with such a result - almost like someone intentionally has
designed the code inorder to prevent they're listed in order.
Even if the data are not stored linearly, it would be a piece of cake to add a
sort routine to fix it.

So may I ask why it works this way? 

Rich

new topic     » topic index » view message » categorize

2. Re: Forum search

Rich wrote:
> 
> 
> I just did a search on a subject in the forum, but find it quite confusing
> that
> the posts are not listed in chronological order, but mixed completely at
> random,
> e.g. 
> 
> # 20 Date: 2005 Jun 29 17:23
> # 21 Date: 2005 Dec 15 11:50
> # 22 Date: 2005 Aug 11 21:54
> # 23 Date: 2006 Jan 7 19:40
> # 24 Date: 2005 Jul 17 21:07
> # 25 Date: 2005 Dec 19 20:38
> 
> Assuming the data are stored in a linear format, it would even seem illogical
> code wise to end up with such a result - almost like someone intentionally has
> designed the code inorder to prevent they're listed in order.
> Even if the data are not stored linearly, it would be a piece of cake to add
> a sort routine to fix it.  
> 
> So may I ask why it works this way? 
> 
> Rich

The reason is that it shows the most relevant post first. The downside of course
is that what the script determines to be the "most relevant" might be 3 posts
into a topic. I agree that a chronological sorting option would be a good idea.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » goto parent     » topic index » view message » categorize

3. Re: Forum search

D. Newhall wrote:
> The reason is that it shows the most relevant post first. The downside of
> course
> is that what the script determines to be the "most relevant" might be 3 posts
> into a topic. I agree that a chronological sorting option would be a good
> idea.

Thanks for explaining that.
I might add that if you click the Subject line of a message,
you'll get all the messages in that thread, displayed
in chronological order (earliest first).

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: Forum search

D. Newhall wrote:
> 
> Rich wrote:
> > 
> > 
> > I just did a search on a subject in the forum, but find it quite confusing
> > that
> > the posts are not listed in chronological order, but mixed completely at
> > random,
> > e.g. 
> > 
> > # 20 Date: 2005 Jun 29 17:23
> > # 21 Date: 2005 Dec 15 11:50
> > # 22 Date: 2005 Aug 11 21:54
> > # 23 Date: 2006 Jan 7 19:40
> > # 24 Date: 2005 Jul 17 21:07
> > # 25 Date: 2005 Dec 19 20:38
> > 
> > Assuming the data are stored in a linear format, it would even seem
> > illogical
> > code wise to end up with such a result - almost like someone intentionally
> > has
> > designed the code inorder to prevent they're listed in order.
> > Even if the data are not stored linearly, it would be a piece of cake to add
> > a sort routine to fix it.  
> > 
> > So may I ask why it works this way? 
> > 
> > Rich
> 
> The reason is that it shows the most relevant post first. The downside of
> course
> is that what the script determines to be the "most relevant" might be 3 posts
> into a topic. I agree that a chronological sorting option would be a good
> idea.


OK, thanks. But in this case I searched on a single word - does this mean that
it is the number of occurences of that word in a post that determines its
significance?

I agree - as you might expect :) I'd like the option for chronological order
too. I also think it would be a good idea to be abler to simply list all posts
within a date range, e.g. by setting the date parameters without entering any
search criteria. Should be pretty simple too, I assume.

Rich

new topic     » goto parent     » topic index » view message » categorize

5. Re: Forum search

Robert Craig wrote:

> I might add that if you click the Subject line of a message,
> you'll get all the messages in that thread, displayed
> in chronological order (earliest first).
> 

Thanks, that's a nice feature. 

Rich

new topic     » goto parent     » topic index » view message » categorize

6. Re: Forum search

Rich wrote:
> OK, thanks. But in this case I searched on a single word - does this mean that
> it is the number of occurences of that word in a post that determines its
> significance?

Roughly, but the length of the message is also taken
into account. A short message with 3 occurrences of a word gets
a higher score than a long message with 3 occurrences.
I also throw in a slight bias that favors recent messages 
over older ones. You can see the code here:

   http://www.rapideuphoria.com/esearch.txt

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu