#268: SPIRES syntax mangles quoted strings containing arrows
------------------------+---------------------------------------------------
Reporter: jblayloc | Owner: simko
Type: defect | Status: closed
Priority: major | Milestone:
Component: WebSearch | Version:
Resolution: fixed | Keywords: SPIRES Syntax INSPIRE
------------------------+---------------------------------------------------
Changes (by Tibor Simko <tibor.simko@…>):
* status: in_work => closed
* resolution: => fixed
Comment:
In [06d240549f24610d85138701b9a7e29fe4c4c7b5]:
{{{
#!CommitTicketReference repository=""
revision="06d240549f24610d85138701b9a7e29fe4c4c7b5"
WebSearch: fix various span query problems
* Fix various span query problems, notably (i) search guide span example
query
in the author index that stopped working after special author tokenizer
got
introduced; (ii) span query was triggered for any occurence of `->'
causing
problems when searching for reactions.
(closes #268)
* Note: the span query is now triggered only when a space is not present
immediately before or after the `->' operator. Such a
escaping/triggering
decision technique is not fully ideal or the most user-friendly ever,
but
it works without altering the current parsing stage technique and it
respects the current search guide syntax documentation on span queries.
We may want to solve the escaping issue later inside parser stages
though.
* Add test cases for all these various span queries.
(word/phrase/marc/author/escape)
}}}
--
Ticket URL: </ticket/268#comment:3>
Invenio <http://invenio-software.org>