Homec4science

BibIndex: fix Porter stemmer in multithread

Authored by Samuele Kaplun <Samuele.Kaplun@cern.ch> on Feb 20 2012, 21:04.

Description

BibIndex: fix Porter stemmer in multithread

  • When PyStemmer was not installed, the global _stemmers dictionary was wrongly initialized thus causing stemming to be unavailable during WSGI request (while being available during indexing time). This is now fixed.

Co-authored-by: Ludmila Marian <ludmila.marian@gmail.com>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 21 2012, 00:27
Parents
R3600:0e3b29bef3e2: WebSearch: fix get_index_id_from_field()
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:56adb6aeb38f: BibIndex: fix Porter stemmer in multithread (authored by Samuele Kaplun <Samuele.Kaplun@cern.ch>).Feb 21 2012, 00:27