#574: Conversion of Invenio query syntax to the Solr one
------------------------------------------+---------------------
 Reporter:  jani                          |      Owner:  jani
     Type:  defect                        |     Status:  new
 Priority:  critical                      |  Milestone:
Component:  WebSearch                     |    Version:  v0.99.3
 Keywords:  syntax Solr full text search  |
------------------------------------------+---------------------
 (This task is relevant to the use case where Invenio uses external Solr
 full-text index)
 The default Solr syntax is quite different from the Invenio/INSPIRE one:
 http://lucene.apache.org/java/2_9_1/queryparsersyntax.html
 e.g.
 * '+' != AND
 * OR is the default operator!
 * '|' is not recognized
 * only operators written in capital letters are recognized

 Two solutions are possible:
 * a syntax converter in search_engine.py
 * a custom Solr plugin as descrited here:
 http://wiki.apache.org/solr/SolrPlugins#QParserPlugin

-- 
Ticket URL: <http://invenio-software.org/ticket/574>
Invenio <http://invenio-software.org>

Reply via email to