#520: Country searching in HEP
------------------------+----------------------------
  Reporter:  hoc        |      Owner:  valkyrie
      Type:  defect     |     Status:  in_merge
  Priority:  minor      |  Milestone:
 Component:  WebSearch  |    Version:
Resolution:             |   Keywords:  INSPIRE syntax
------------------------+----------------------------
Changes (by valkyrie):

 * status:  assigned => in_merge


Comment:

 Ok!  The SPIRES parser is now bright enough to emit things of the form

 "(country:us in institutions)"

 when a user types

 find cc us

 Questions: is there something better that can be done about this?  By that
 I mean, is there a way in which we can support this syntax without having
 to quote it?  Currently the way that basic search units are formed
 necessitates quoting the whole parenthesised deal, since it will otherwise
 be split on spaces.  Second question: is there a way to support the use of
 indexes rather than tags for the configuration?  I did not manage to find
 a function which functioned as a get_fieldvalues for indexes.  This might
 be sad in the future, though it obviously is OK for Institutions.

 Anyway, typing anything like

 "(index:query in collection)"

 in invenio syntax will now work (assuming "query" has no quote marks in
 it), and typing anything like

 find (index query in collection)

 in SPIRES syntax will work.

 There are branches for both invenio and INSPIRE: the INSPIRE branch
 contains only the example configuration variable added to the example
 conf.

 Invenio and INSPIRE branches available in AFS as 520-country_codes .

-- 
Ticket URL: <http://invenio-software.org/ticket/520#comment:9>
Invenio <http://invenio-software.org>

Reply via email to