Package org.mycore.mets.resource
Class MCRAltoHighlightResource
java.lang.Object
org.mycore.mets.resource.MCRAltoHighlightResource
Solr resource for alto text highlighting.
Example: rsc/alto/highlight/mycore_derivate_00000001?q="jena paradies"[ { "id": "mycore_derivate_00000001:/alto/alto_1.xml", "hits": [ { "hl": "Es ist schön in Jena Paradies.", "positions":[ { "content": "Jena", "xpos": 1566, "vpos": 1100, "width": 105, "height": 44 }, { "content": "Paradies", "xpos": 1671, "vpos": 1100, "width": 185, "height": 47 } ] }, { "hl": ..., "positions": [ ... ] } ... ] }, { "id": "alto/alto_2.xml", ... }, ... ]
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRAltoHighlightResource
public MCRAltoHighlightResource()
-
-
Method Details
-
query
-
buildQuery
-
addWord
-