Slackbot
10/31/2023, 1:34 PMJason Bosco
10/31/2023, 4:58 PMmulti_search request, copy as curl and paste it here, minus the API key?Mark S
10/31/2023, 8:05 PMJason Bosco
10/31/2023, 8:13 PMconst typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
...
additionalSearchParameters: {
query_by: 'title, page_path, body_text, site_section',
highlight_fields: 'body_text',
highlight_full_fields: 'title, page_path, site_section',
highlight_affix_num_tokens: 50,
...
},
});Jason Bosco
10/31/2023, 8:14 PMhighlight_fields will snippet the body_text and for the other fields, the full field will be highlightedMark S
11/01/2023, 8:49 PMJason Bosco
11/01/2023, 8:51 PMSo on long pages, there are 30-40 snippets lumped together into a single block of text.Ideally you'd want to break large pieces of text into smaller records... But I'm not sure I fully understand this. Could you share a screenshot of this issue?