#643: Solving "find" problems
-----------------------+-----------------
Reporter: tbrooks | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: *general* | Version:
Keywords: |
-----------------------+-----------------
This seems to be developing strong support, lets do it:
Given search string foo do the following:
is foo an invenio fielded search? -> go to invenio parser
is foo a SPIRES "find"-ed search? -> go to SPIRES parser
is foo both of the above combined? -> go to both, as we currently do...(or
however this works)
(note that everything above this line is how things currently work)
does foo contain neither colons, nor "find"? -> perform the following
search "anyfield:foo or (find foo)"
I think this will solve a lot of usability problems for folks accustomed
to leaving off the "find"
For extra points, we could look at the number of results of each query
independently and if "find foo" had 0< results < 900000 then return only
find foo with a warning message "we thought you were doing a spires search
click here to do anyfield:foo"
if find foo has 0 results, then return anyfield:foo
Travis
--
Ticket URL: <http://invenio-software.org/ticket/643>
Invenio <http://invenio-software.org>