#182: BibMatch: store matching results in output files
-------------------------+--------------------------------------------------
Reporter: simko | Owner: jlavik
Type: enhancement | Status: new
Priority: major | Milestone:
Component: BibMatch | Version:
Keywords: |
-------------------------+--------------------------------------------------
When BibMatch finds matching records, it currently outputs
new/matched/ambiguous MARCXML output streams as the user wanted,
suitable for further bibuploading and/or manual inspecting.
It would be useful if BibMatch adds to the output also some
information about the matching process. For example, we could store
this information as MARCXML comments, similarly to we store the number
of records found in the search engine's XML output.
Example 1: (exact matching mode)
{{{
<record>
<!-- BibMatch-Matching-Found: http://inspirebeta.net/record/12345 -->
<!-- BibMatch-Matching-Mode: exact-phrase -->
<!-- BibMatch-Matching-Criteria: 245__a||100__a -->
<datafield tag="100" ind1=" " ind2=" ">
<subfield code="a">Treusch, R</subfield>
</datafield>
[...]
</record>
}}}
Example 2: (fuzzy matching mode)
{{{
<record>
<!-- BibMatch-Matching-Found: http://inspirebeta.net/record/12345 -->
<!-- BibMatch-Matching-Mode: fuzzy -->
<!-- BibMatch-Matching-Criteria: 245__a -->
<!-- BibMatch-Matching-Probability: 73 -->
<datafield tag="100" ind1=" " ind2=" ">
<subfield code="a">Treusch, R</subfield>
</datafield>
[...]
</record>
}}}
--
Ticket URL: <http://invenio-software.org/ticket/182>
Invenio <http://invenio-software.org>