#454: WebSearch: introduce next-hit/previous-hit/back-to-search links on
detailed
record pages
--------------------------+----------------------
Reporter: simko | Owner: rajimene
Type: enhancement | Status: assigned
Priority: major | Milestone:
Component: WebSearch | Version:
Resolution: | Keywords:
--------------------------+----------------------
Changes (by simko):
* status: in_merge => assigned
Comment:
Thanks for the changes. As we spoken IRL, (1) please remove //Back to
search// button when users are coming from non-search pages; (2)
please measure and speed up the list manipulations in case there are
many hits e.g. by first quick check whether record is in a given
collection via `if recID in reclist` and friends. Even better, you
can introduce a new configuration variable named like
`CFG_WEBSEARCH_PREV_NEXT_HIT_LIMIT` that will specify the limit when
the previous/next hit links are to be displayed. E.g. if a search
returns lots of hits, more than this limit, then do not loose time
calculating next/previous hits at all, but display page directly
without these. Ditto on the storage side, one would not store long
lists into `wlqh` at all, one would only store `wlq`. I think that
the default value of this limit could be around half a million,
possibly more, provided how the speed up goes. Note also that Invenio
installations that do not like to have the next/previous hit link
functionality would be able to set this variable to zero and not see
anything.
--
Ticket URL: <http://invenio-software.org/ticket/454#comment:5>
Invenio <http://invenio-software.org>