Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show snippet of field content that contains relevant part #162322

Closed
martinevanschouwenburg opened this issue Jul 20, 2023 · 3 comments
Closed

Show snippet of field content that contains relevant part #162322

martinevanschouwenburg opened this issue Jul 20, 2023 · 3 comments
Labels
Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@martinevanschouwenburg
Copy link

In our index, we have one field that contains the text from a whole document (typically 4-5 pages long). We are particularly interested in the content of that text, and that is what we are mainly searching for. (The other fields are used primarily for filtering down the results.)

Right now, if we search for a specific word, we see the search results, but only the first few lines of the field content. It would be great if you could see a relevant snippet of the text. So the part of the text that contains the word we searched for, instead of the first few lines. I believe this is already possible when using a API request (https://www.elastic.co/guide/en/app-search/current/result-fields-highlights.html#result-fields-highlights-snippet-result-field)

Below is an example. Each of the cells contains the word 'Netherlands'. However, for the middle 3 results, it is not immediately obvious in which context this word is present in the text. We would prefer to see the relevant snippet that contains the word 'Netherlands'.
example1

@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 20, 2023
@dej611 dej611 added Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Jul 20, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 20, 2023
@jughosta
Copy link
Contributor

Related #159831

@lukasolson
Copy link
Member

lukasolson commented Aug 1, 2023

I believe this is a duplicate of #159831.

@lukasolson lukasolson closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

5 participants