thesaurus-linguae-aegyptiae / tla-es

Thesaurus Linguae Aegyptiae Spring backend for Elasticsearch access
1 stars 4 forks source link

add sentence count to lemma DTO #29

Closed JKatzwinkel closed 2 years ago

JKatzwinkel commented 2 years ago

Adds the number of matching sentences to lemma details DTO via inserting an empty root node into the lemma's attested timespan tree. The total number of sentences is in the root node's attestations.sentences field. The root node also contains an empty (ranging from 0 BCE to 0 BCE) Period for the sake of compatibility with the frontend.

Remove lemma attestation timespans tree and add sentence count.

Other noteworthy updates:

Closes #16