#938: WebSearch: XML output and split-by-collection
------------------------+-----------------------
Reporter:  simko        |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  major        |  Component:  WebSearch
 Version:               |   Keywords:  indico
------------------------+-----------------------
 Indico Search calls Invenio instance and gets results in MARCXML.  The
 search is being called twice, once for collection Foo and once for
 collection Bar.  In order to speed up the queries, it would be good to
 enrich XML output with comments specifying results split by collection.
 This will necessitate only one search call from Indico.

 Using Invenio demo site as an exapmle, for a query like `http://invenio-
 demo.cern.ch/search?p=nuclear&of=xm&sc=1`, the system can reply in
 enriched markup e.g. using XML comments like:

 {{{
 [...]
 <!-- Search-Engine-Total-Number-Of-Results: 7 -->
 <!-- Search-Engine-Collection: Articles and Preprints -->
 <!-- Search-Engine-Collection-Number-Of-Results: 6 -->
 <record>
   <controlfield tag="001">65</controlfield>
   [...]
 </record>
 [...]
 <!-- Search-Engine-Collection: Books and Reports -->
 <!-- Search-Engine-Collection-Number-Of-Results: 1 -->
 <record>
   <controlfield tag="001">32</controlfield>
 </record>
 }}}

 See also ticket:363.

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

Reply via email to