Hi. I have big fields for search. And i want to change snippet size. Most closer example is solr params like:
'hl.fl': 'content headline',
'hl.snippets': 3,
'hl.simple.pre': '=====',
'hl.simple.post': '=====',
So it will display like 2-3 sentences with target word or phrase. Can i do the same with atlas? As currently it returns almost all text from content field.
This is my query:
{
$search: {
index: 'default',
text: {
query: getFilesDto.fullText,
path: 'content',
},
highlight: {
path: 'content',
},
},
}