Homec4science

WebSearch: most popular field values optimisation

Authored by kuncar on Nov 23 2012, 13:49.

Description

WebSearch: most popular field values optimisation

  • Optimises get_most_popular_field_values(). Uses numpy.lexsort() when available. Improves time spent in Python. The bottleneck is now the database for searches giving more than 100000 results. (closes #1096)
  • API change: get_most_popular_field_values() now returs list of tuples instead of tuple of tuples. The commit amends callers in WebAuthorProfile, BibKnowledge accordingly.

Co-authored-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Mar 18 2013, 10:45
Parents
R3600:2a232f1c1f49: Merge branch 'maint-1.1'
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:a6fc050762f8: WebSearch: most popular field values optimisation (authored by Jiri Kuncar <jiri.kuncar@cern.ch>).Mar 18 2013, 10:45