#431: WebSearch: fix test case searching by date 1976-04-01 and t dog
------------------------+----------------------
  Reporter:  simko      |      Owner:  valkyrie
      Type:  defect     |     Status:  assigned
  Priority:  critical   |  Milestone:  v1.0
 Component:  WebSearch  |    Version:
Resolution:             |   Keywords:
------------------------+----------------------

Comment (by simko):

 Replying to [comment:15 valkyrie]:
 > Isn't the SpiresToInvenioSyntaxConverter only called on CFG_INSPIRE_SITE
 anyway?

 Nope, because other high-energy physics services besides INSPIRE may want
 to enable the SPIRES search syntax too, for the benefit of users. (On CERN
 Document Server, this has been live since the start.)  Isn't it nice if a
 physicist that is used to using SPIRES syntax can simply switch between
 CDS, INSPIRE, possibly ADS and arXiv and other services, and still use
 his/her preferred way of searching without too much thinking?

 So far, the SPIRES syntax trigger was simply the leading //find//. With
 ticket:508 and forthcoming SPIRES syntax guesswork component, the trigger
 can be `leading-a`, `leading-t`, `space-ps-space`, etc.  This means we
 need a new configuration variable called say `CFG_WEBSEARCH_SPIRES_SYNTAX`
 that people could use to configure their sites.  For example: 0 = SPIRES
 syntax is switched off; 1 = leading find is required; 2 = leading SPIRES
 operator is required; 3 = `space-operator-space` is recognised too; 9 = it
 is always used.

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

Reply via email to