knaw-huc / broccoli

Da Broker 🥦
MIT License
0 stars 1 forks source link

Add textTokenCount (aka 'word count') to full text field #42

Closed hayco closed 4 months ago

hayco commented 4 months ago

Delegate token counting to Elastic, using the same FullTextAnalayser we use for other queries on the full text field. Add text.tokenCount as a range query.