Skip to content
Branch: master
Find file History
Latest commit d42583f Nov 9, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
1.json added ID field Apr 15, 2014
10.json added ID field Apr 15, 2014
11.json added ID field Apr 15, 2014
12.json added latest video Sep 26, 2014
13.json added latest video Sep 26, 2014
14.json added more videos Jul 21, 2015
15.json added more videos Jul 21, 2015
16.json added more videos Jul 21, 2015
17.json
18.json added more videos Jul 21, 2015
19.json added more videos Nov 9, 2017
2.json added ID field Apr 15, 2014
20.json added more videos Nov 9, 2017
21.json added more videos Nov 9, 2017
22.json added more videos Nov 9, 2017
23.json
24.json added more videos Nov 9, 2017
25.json added more videos Nov 9, 2017
26.json added more videos Nov 9, 2017
27.json added more videos Nov 9, 2017
28.json added more videos Nov 9, 2017
29.json added more videos Nov 9, 2017
3.json added ID field Apr 15, 2014
30.json added more videos Nov 9, 2017
31.json added more videos Nov 9, 2017
32.json added more videos Nov 9, 2017
33.json
34.json
35.json added more videos Nov 9, 2017
36.json added more videos Nov 9, 2017
37.json added more videos Nov 9, 2017
4.json added ID field Apr 15, 2014
5.json added ID field Apr 15, 2014
6.json removed solrcloud tag and changed the query a bit to tighten up results Apr 18, 2014
7.json removed solrcloud tag and changed the query a bit to tighten up results Apr 18, 2014
8.json removed solrcloud tag and changed the query a bit to tighten up results Apr 18, 2014
9.json removed solrcloud tag and changed the query a bit to tighten up results Apr 18, 2014
README.md Simplified the "for" a bit Apr 17, 2014

README.md

To index the sample documents in Elasticsearch, you would run

cd sample-documents
for file in *.json; do echo -n $file; curl -XPOST localhost:9200/es-solr/videos/ -d "`cat $file`"; echo; done

To index the sample documents in Solr, you would run

cd sample-documents
for file in *.json; do echo $file; curl 'http://localhost:8983/solr/update?commit=true' -H 'Content-type:application/json' -d "[`cat $file`]"; echo; done
You can’t perform that action at this time.