-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the search to follow the the nested objects #67
- Loading branch information
1 parent
0d50334
commit 381734f
Showing
6 changed files
with
47 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ deployment: | |
branch: master | ||
commands: | ||
- rsync -avz /home/ubuntu/youtubeSearch/ [email protected]:/youtubeSearch | ||
- ssh -i ~/.ssh/id_rsa [email protected] 'make -C /youtubeSearch/ upProduction; chmod -R 777 /youtubeSearch/y2bsearch/storage/; chmod -R 777 /youtubeSearch/y2bsearch/public/counter.txt; mv /youtubeSearch/y2bsearch/.env.prod /youtubeSearch/y2bsearch/.env' | ||
- ssh -i ~/.ssh/id_rsa [email protected] 'make -C /youtubeSearch/ upProduction; chmod -R 777 /youtubeSearch/y2bsearch/storage/; chmod -R 777 /youtubeSearch/y2bsearch/public/counter.txt;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
<div id="videos" class="ui link cards three column stackable grid container"> | ||
@foreach ($videos as $video) | ||
@include('components.videoCard', ['video' => $video['_source'], 'highlighted_search' => $video['highlight']['subtitles'][0]]) | ||
@include('components.videoCard', ['video' => $video['_source'], | ||
'highlighted_search' => $video['inner_hits']['subtitles']['hits']['hits'][0]['highlight']['subtitles.sentence'][0], | ||
'start' => $video['inner_hits']['subtitles']['hits']['hits'][0]['_source']['start'] | ||
]) | ||
@endforeach | ||
</div> |