Update code that generates html to display results
Update code that generates html to display results

Biland generates html-code to display the search results. This code
does not work in newer versions of elasticsearch (e.g. v 1.1.0).
Elasticsearch now returns lists of results for each field of each
individual search result (these lists generally contain a single
element). The code that generates the html for displaying results
now extracts the first element of these lists.

msassmann/texcavator,msassmann/texcavator,UUDigitalHumanitieslab/texcavator,msassmann/texcavator,UUDigitalHumanitieslab/texcavator,UUDigitalHumanitieslab/texcavator,msassmann/texcavator