#112: Add implicit quoting to SearchQueryParenthesisedParser
-----------------------+----------------------------------------------------
Reporter: jblayloc | Owner: jblayloc
Type: defect | Status: new
Priority: major | Milestone:
Component: WebSearch | Version:
Keywords: |
-----------------------+----------------------------------------------------
Cf. RT Ticket #83478 at
https://inspirert.cern.ch/Ticket/Display.html?id=83478.
To make searches of the form:
author:Vigen, Jens
behave as much like searches of the form:
author:"Vigen, Jens"
as possible, we should guess about quoting wherever we can. Skipping
quoted regions, SQPP should try to stick quotes in regions falling between
search keywords and logical conjunctions. EOL can be treated as a
conjunction always, or else when there is only one search keyword in the
query. It's not clear to me which is more correct.
To go along with this, SearchEngineQueryParser should always quote its
output before sending to SQPP, so we don't have to play games with
guessing whether our input came from SEQP or not.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/112>
Invenio <http://invenio-software.org>