INL/BlackLab

Snippet response has inconsistent structure

Closed this issue · 1 comments

Snippet response has inconsistent structure now, compare:

/blacklab-server-new/opensonar/docs/WR-P-P-B-0000000392/snippet/?outputformat=json&hitstart=0&hitend=10&wordsaroundhit=0 
/blacklab-server-new/opensonar/docs/WR-P-P-B-0000000392/snippet/?outputformat=json&hitstart=0&hitend=10&wordsaroundhit=1

Fixed in 3d2ffad