Ticket #979 (closed task: fixed)

Opened 7 months ago

Last modified 1 month ago

display total number of search results

Reported by: russ Assigned to: dragisak
Priority: medium Milestone: 0.9.1
Component: ambra Version: 0.9-SNAPSHOT
Keywords: Cc:
Blocking: Blocked By:

Description

currently, we don't show the user how many matches there are for their search, or how many pages there are.

this was done to improve performance - it's time-consuming to do xacml checks on a potentially enormous data set in order to determine the number of matches.

however, we need to display the total number of results from search. it's a basic required feature of a search function.

i suggest that we put enough information into lucene so that we don't need to consult mulgara on a per-article basis to determine whether or not each article is viewable.

we could also use the same tactic we've used with browse and display an incorrect total that includes unpublished articles, and live with the slight inaccuracy.

let's include this in the post-0.9 discussion of search improvement.

Dependency Graph

Change History

06/26/08 10:19:05 changed by amit

  • owner deleted.

12/01/08 16:39:16 changed by ronald

  • owner set to dragisak.

I think this is just a pure display issue. An estimate of (i.e. upper bound on) the total number of results is available and is updated as more results are resolved, but the ftl currently seems to only use it for the last page. The fact that this is an estimate should not matter as folks are used to seeing estimates from the likes of google etc.

12/04/08 05:43:40 changed by ronald

  • status changed from new to closed.
  • resolution set to fixed.

(In [6858]) Fix search-results display to always show a list of pages (if there's more than one page of results) and to always display the total number of results (even though it is only an upper bound). Closes #979.

12/04/08 09:18:24 changed by amit

  • milestone set to 0.9.1.