Re: Forum search
- Posted by Rich <ra at zantra.dk> Mar 07, 2006
- 466 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