You are here: Foswiki>Tasks Web>Item2232 (06 Jul 2015, GeorgeClark)Edit Attach

Item2232: SEARCH limit probably can be deprecated and we should use pagesize (or a synonym for it) instead

pencil
Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: major
Applies To: Engine
Component: SEARCH
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
as the legacy of the SEARCH limit parameter is that it applies to each web, rather than the total number of results, I think we can deprecate it (basically docco it as 'only use if you really know what it means and its what you want..) and replace it with the more expected 'show the first X results after sorting'

which pagesize already does...

we need more unit test to show the affects of limit - especially on the modified search done on WebChanges.. when applying paging to trunk's WebChanges, I found that going to showpage=3 I got no more results due to that weird 'optimization' (comiting a fix for that, but its still dodgey code)

-- SvenDowideit - 10 Oct 2009

Sven, This had commits against 1.1.0, but it appears that it was mostly tests and documented TODO;s

Should this be bumped to a future release?

-- GeorgeClark - 13 Mar 2011

ItemTemplate edit

Summary SEARCH limit probably can be deprecated and we should use pagesize (or a synonym for it) instead
ReportedBy SvenDowideit
Codebase trunk
SVN Range SVN 5250: Foswiki-1.1.0-dev, Mon, 28 Sep 2009, build 5161
AppliesTo Engine
Component SEARCH
Priority Enhancement
CurrentState Proposal Required
WaitingFor
Checkins distro:5efae97b69c7
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 06 Jul 2015, GeorgeClark
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