#113: Guess about quoting in mixed search styles
-------------------------+--------------------------------------------------
Reporter: jblayloc | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: WebSearch | Version:
Keywords: |
-------------------------+--------------------------------------------------
For searches of the style:
author:Vigen, jens auther:brooks, t
(note the lack of conjunction)
...the user may mean to do author:vigen, and keyword:jens and
author:brooks, and keyword:t. But probably not.
At least for author searches, and maybe for all searches, it would be nice
to do this search twice. Once as input, and once with all the bits
between index keywords ("author:", "affiliation:", "date:", etc.) quoted.
These result sets should be compared, and one of the following did-you-
mean behaviors displayed:
* If user input set is 0 and quoted results >0, note that user input gave
no results and show quoted results
* If user input set is >0 and quoted results >0, ask "Did you mean" with
the quoted set, and make that clickable.
* If user input set is >0 and quoted results 0, show user input results
with no note.
* If user input set is 0 and quoted results 0, do normal no results
returned.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/113>
Invenio <http://invenio-software.org>