Closed svandaalen closed 5 months ago
This also requires some work on the side of Broccoli. In any way, shape, or form the summaries have to be added to the Elastic index so that TAV can display the summaries in the search hits. Are we going to add them as type text
? Where does Broccoli get the summaries from? The summaries sit in body.metadata.summary
of a tf:File
annotation.
Next step forward is to add body.metadata.summary
to the index. This will cause ES to index the summary
field and makes it 'findable'. It will also add summary
to search results passed by 🥦.
The Suriano index used in TAV now contains a summary
field.
This leaves TAV to show the summary field for now.
Highlighting search terms in index fields requires some changes in 🥦 -> knaw-huc/broccoli#50
This functionality has been added in TAV in https://github.com/knaw-huc/textannoviz/commit/f6b645310065d7cbca346542f15c744eaa016fab.
Request from Nina: