Is this possible? I would like to sort the results by date
Mar 15, 2003, 4:36 PM
User (171 posts)
Mar 15, 2003, 4:36 PM
Post #2 of 5
Views: 2109
Never tried it by date, but I'm sure some here knows. You can do it for the last XXX, in hours, days, weeks, months, etc. like:
gforum.cgi?do=search_results&search_forum=all
&search_string=&search_type=AND&search_fields=sb&search_time=24h&search_user_username=&mh=25
(all on the same line)
This one is set for the last 24 hours. Substitute 1w for 1 week, etc.
Dave
gforum.cgi?do=search_results&search_forum=all
&search_string=&search_type=AND&search_fields=sb&search_time=24h&search_user_username=&mh=25
(all on the same line)
This one is set for the last 24 hours. Substitute 1w for 1 week, etc.
Dave
Mar 18, 2003, 5:32 PM
Staff / Moderator (2198 posts)
Mar 18, 2003, 5:32 PM
Post #5 of 5
Views: 2085
Searching by date isn't supported, because Gossamer Forum uses indexing (MySQL or internal) in order to index the page. This way when searching for a query, the results will be ordered by their relevance. This is much the same as searching the web - if you sorted the results for a search by the time they were last updated, the results would be almost completely useless. Thus, in order to be able to search for things that are known to have been posted within the last little while, you can enter a specific time-frame in which to search - but the results are always sorted by relevance instead of anything else.
If your results don't seem to be sorted by relevance, check to insure that you have enabled the table indexing.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
If your results don't seem to be sorted by relevance, check to insure that you have enabled the table indexing.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com