Te-cho / youtubeSearch

Its a platform to search through youtube's sbutitles and lyrics
http://searchyoutubes.com/
3 stars 0 forks source link

Get the timing for the subtitles not by using PHP contain search after querying. #27

Closed abidulrmdn closed 7 years ago

abidulrmdn commented 7 years ago

currently we're finding the timing for the searched keywords by going through the subtitles and finding the right sentence match, What we hope is that we can get it from the query. or logstash.

abidulrmdn commented 7 years ago

needs implementing the script instead of Logstash to insert nested objects instead of normal array of instances. which will look something like this

PUT /videos_en

{ "mappings": { "videosSubtitles": { "properties": { "_subtitles":{ "type": "nested", "properties": { "sentence": { "type": "string" }, "start": { "type": "string" }, "end": { "type": "string" } } } } } }

abidulrmdn commented 7 years ago

resolved by doing nested objects