It would be really nice if the
%SEARCH{...}% TWikiTag had an
order=field attribute, where
field::='topic'|'date'|'author'. The idea is to control the display order.
--
KevinKinnell - 30 Apr 2000
This option, and several others, have been added to the code available in OrderBySearchOptions attachments. See SearchEnhancmentsRFC for documentation -- KevinKinnell - 08 May 2000
Many deletions, see the diffs between 1.8 and 1.7 (just rev 1.7) if you're interested.
Small details regarding the
limit=n attribute. How about this: An empty value or
"0" means "all topics" ( do not use
"*" , or it could be used and means also "all topics" ).
We can retire the
changes script and use a new WebChanges topic that basically just has a
%SEARCH{...}% in it.
There is actually no
index script, nothing changes there. It is just an
".*" search with regular expression.
Regarding performance, could you (or anybody else) test it if there is any decrease in performance compared to the 01 Mar 2000 version? I don't see any problem as long as it is only minor for the default search ( sort by
topic , and without
reversed sort ) . Let us know the results here.
--
PeterThoeny - 03 May 2000
I genned up 1k of random topics in my main web and another 250 in each of two other webs; each of these had about 200 lines at about 40 5-character "words" per line; then searched for random strings. I didn't do an actually bench, this was a "perceptual bench" to see if TWiki
seemed to get a lot slower. It
seemed to me to be about four or five times slower than searches on my normal 150 or so topics; that is, normal searches took about 12 seconds and regex searchs took 20 or so (both were case insensitive.) I suspect that on a real server the difference wouldn't be perceptible, so my original (now deleted) worries about performance of the TWiki were groundless. On the other hand, the system greps hogged all of my memory resources while the searches were going on, so this is still a worry. My TWiki is running on a Pentium 75MHz w/ 32Mb under a Linux 2.0x kernel and Apache 1.2 (no mod_perl.) Hey, stop laughing!!!
--
KevinKinnell - 08 May 2000
Well, the bugs are fixed for
sure this time... The diffs in this topic are out of date again.
DON"T DOWNLOAD the diffs here -- goto Sourceforge and get the new code from the CVS. See
WebHome for a link to the TWiki Sourceforge project.
Peter: I didn't really mean for this topic to be deleted, just the darned attachments (not that I'll be all upset if the whole topic gets trashed--it needs to be completely re-written anyway.)
--
KevinKinnell - 05 Jun 2000
Deleted the attachments.
--
PeterThoeny - 06 Jul 2000
See
SearchEnhancements,
SearchAllTWikiWebs,
SearchEnhancmentsRFC