#188: websearch: keyword distribution goes horribly awry
----------------------------+-----------------------------------------------
Reporter: jblayloc | Owner: jblayloc
Type: defect | Status: new
Priority: major | Milestone:
Component: WebSearch | Version:
Keywords: INSPIRE Syntax |
----------------------------+-----------------------------------------------
Keyword and title are distributed over all the terms, allowing you to do
"find t this that" This is correct, but it supersedes operator parsing,
so "find t this and that" fails:
>>> from invenio.search_engine_query_parser import
SpiresToInvenioSyntaxConverter as Converter
>>> conv = Converter()
>>> q = "find t SLAC and stuff"
>>> conv.convert_query(q)
'(title:SLAC and title:and and title:title: and title:stuff)'
--
Ticket URL: <http://invenio-software.org/ticket/188>
Invenio <http://invenio-software.org>