1. Forum search
- Posted by Rich <ra at zantra.dk> Mar 06, 2006
- 454 views
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
2. Re: Forum search
- Posted by D. Newhall <derek_newhall at yahoo.com> Mar 06, 2006
- 495 views
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
3. Re: Forum search
- Posted by Robert Craig <rds at RapidEuphoria.com> Mar 06, 2006
- 490 views
- Last edited Mar 07, 2006
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
4. Re: Forum search
- Posted by Rich <ra at zantra.dk> Mar 07, 2006
- 468 views
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
5. Re: Forum search
- Posted by Rich <ra at zantra.dk> Mar 07, 2006
- 467 views
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
6. Re: Forum search
- Posted by Robert Craig <rds at RapidEuphoria.com> Mar 07, 2006
- 458 views
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