Homec4science

WebSearch: restricted record search improvements

Authored by Ludmila Marian <ludmila.marian@gmail.com> on Oct 17 2012, 16:00.

Description

WebSearch: restricted record search improvements

  • Improves performance when searching restricted records; the retrieval of permitted restricted records is done in constant time with respect to the number of search results.
  • The retrieval of permitted restricted records is done following these principles: if a record is both public and restricted, it will be restricted; if a record is restricted via multiple collections, the config variable CFG_WEBSEARCH_VIEWRESTRCOLL_POLICY decides if it should be displayed or not.
  • Amends test cases to follow the above principles.
  • Adds a new data cacher for holding the complete list of children (regular, virtual, public, restricted) for each collection, for improving the search performance.
  • Modifies the display of collection list on the search results page, by adding a more/less view option.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Oct 29 2012, 13:25
Parents
R3600:f5a764994d4d: Merge branch 'maint-1.1'
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:c650f8402b5e: WebSearch: restricted record search improvements (authored by Ludmila Marian <ludmila.marian@gmail.com>).Oct 29 2012, 13:25