Hello,
I am trying to build a frontend using React (Search ui) and app search as a backend. So iwas succeful in indexing my documents but i have some questions regarding the mapping. How can we look into the mapping and the parameters of our index. I am asking that because I have a pb in retrieving the infos that i want in the front end. Here's what a json doc looks like:
{"podcast_name":"<episode-name>",
"transcripts":
[
{"transcript":"<transcript of 30 sec>"
start":"<start time of first transcript>",
"end":"<end time of first transcript>"},
{"transcript":"<transcript of 30 sec>"
start":"<start time of second transcript>",
"end":"<end time of second transcript>"}
...
]
}
So now when i search using my front end, when i look for a word, i can only retrieve the whole transcripts field with all the transcripts. What i want is to only retrieve the transcript containing the word and maybe the surrounding one and not the whole array object. How can i access anc show that ?
Thanks !