Hi, we're using Elastic's API to search document repository we created for our users (about 6,000 documents). Most of the documents are PDF files and we're having difficulty to offer our customers with true value by helping them better understand what each document includes, without opening it, but present quotes of interior text that include the searched words/ expression as part of a context.
Google has the search operator option that provides users the option to see 1st, 2nd or even 3rd sentences beneath each result and that include the specific words searched (see below).
I’ll be happy to further understand what are the options to do such thing in order to improve our search results and better engage with our users. thanks