You are here: Foswiki>Tasks Web>Item8580 (01 Mar 2010, SvenDowideit)Edit Attach

Item8580: PurePerl search algo fails to not to dumb things on topic name search?

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: SvenDowideit
i'm not 100% sure yet, as i didn't mean to look at this, but it gives me the feeling like its reading the file even though we're supposed to be matching on the name of the file...

i'll write a unit test and confirm on rel branch later too.

-- SvenDowideit - 20 Feb 2010

mmm, put in scope="topic" search="Web*" and you'll use up all your memory. I'm guessing that the quotemeta is still in the wrong place frown, sad smile (trunk only)

-- SvenDowideit - 20 Feb 2010

the quotemeta was one issue, and the other is that the store does an opendir in a list context - meaning we load the entire list of files into memory, filter it and sort it, despite only wanting 4 files.

I created a different bug for that so this one can be closed on trunk. -- SvenDowideit - 01 Mar 2010

 

ItemTemplate edit

Summary PurePerl search algo fails to not to dumb things on topic name search?
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:d2e26658e953
TargetRelease n/a
ReleasedIn 1.1.0
Topic revision: r3 - 01 Mar 2010, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy