flexsearch icon indicating copy to clipboard operation
flexsearch copied to clipboard

[Question] Index whole String but store part of it?

Open bphenriques opened this issue 4 years ago • 0 comments

Hello! 👋

Given a document:

{
   "id": 32424324,
   "title": "title",
   "content": "quite large content"
} 

Is it possible to index both fields and prune.content to, for example, 90 characters (as I only need to provide a small preview of the content) to optimize the store? As of now I can get by having an additional field preview which is a truncated version of content :)

Thank you for the amazing project 🙇

bphenriques avatar Aug 24 '21 18:08 bphenriques