Homec4science

WebSearch: correct quote matching in SPIRES syntax

Authored by Travis Brooks <travis@slac.stanford.edu> on Mar 21 2010, 18:46.

Description

WebSearch: correct quote matching in SPIRES syntax

  • Quote matching in search_engine_query_parser was failing in some cases and introducing an extra space, causing spires keywords to be missed: find a j ellis and (t report or k "cross section")
  • Tests in s_e_q_p were improved. Unit tests now compare "basic search units" after sending queries through the parentheses parser parse_query. This is then re-joined and used to find basic search units that are comparable between the syntaxes.
  • All but one test in s_e_q_p_tests pass now.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Mar 28 2010, 23:19
Parents
R3600:2a6040988b7b: WebWearch: real unit tests for query parser
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:c565961dc037: WebSearch: correct quote matching in SPIRES syntax (authored by Travis Brooks <travis@slac.stanford.edu>).Mar 28 2010, 23:19