• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Searching "topicinfo" will find (almost?) all topics.

If you do this on twiki.org it will have a big impact on the server. This is a normal search, not a META search, so the main problem is that search does look into TOPICINFO and META text as well.

AC

I am not sure if we should do anything with this. If we want to exclude some meta data we will pay with slower perfomance. Personally I suggest to let this be as a "not-to-be-fixed" item.

-- PTh

Just to pinpoint the problem: where would this hit performance?

AC


The current websearch is based on the simple command line grep, which doesn't care for the different components of a TWiki topic.

If you want to avoid this, you'd have to replace grep by some "intelligent" function which knows about the text and META parts, and if you implement this function in Perl, it is likely to be significantly slower than a system grep.

HJ

But grep can be passed a regex pattern...

AC

Yes, it can. But that would be a brute-force regex which would be applied to every search. I'd bet that if you design a regex which safeguards a match against being in a META line (not an easy task in itself, or is it?) then a search based on this regex would be at least a factor of two slower than a plain grep.

HJ

Besides speed people use SEARCH to search meta data as well. And we cannot break those applications.

Discarding.

KJL

ItemTemplate
Summary Search does not look in topic text only
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1, Sun, 17 Dec 2006, build 12291
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-01-02 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback