Tags:
create new tag
view all tags

Question

if we use the option format or order in the twiki-variable SEARCH, the processing of a query lasts very long (for 57 entries about 40-50 seconds). if we leave these two options the search is quick (for 57 entries about 3 seconds).

here is my search-statement:

  %SEARCH{"MfPeProtokoll[0-9]" scope="topic" regex="on" nosearch="on" nosummary="on" nototal="on" reverse="on" topic="MfPeProtokoll*" order="created" format="| [[$topic]] | <font size=\"-2\" color=\"gray\"> Main.$createwikiname </font>|  | <font size=\"-2\" color=\"gray\"> $rev </font> |"}%

is there a fix for a slow search in 4.0.1 oder 4.0.2?

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris
Web server: apache 1.3.33
Perl version: perl5 (revision 5 version 8 subversion 5)
Client OS:  
Web Browser:  
Categories: Search

-- FrankEgger - 28 Apr 2006

Answer

No; no-one has reported this before. Can you narrow down on what parameter might be causing the slowdown?

-- CrawfordCurrie - 28 Apr 2006

i narrowed down that the search is slow, if i use the format and order parameter in the search.

i tested with about 60 entries in search result and had reponse times of about a 60-70 seconds with both parameters.

if i leave the two mentioned parameters, the search result appears in nearly 3 seconds.

if i use only order the response time is about 15 seconds.

if i use only format the response time is about 53 seconds.

i also recognized, that on preview the page loads in 12 seconds for both parameters.

-- FrankEgger - 03 May 2006

I cannot reproduce this?

Could you prepare a little zip demonstrating the problem (topics + search topics) or point to a public url where this problem exists?

If this is reproducible it sounds like a bug and should be reported at our bug tracker (Bugs:WebHome) with a high priority.

-- SteffenPoulsen - 16 Jun 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-06-16 - SteffenPoulsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.