mirror of https://github.com/apache/lucene.git
SOLR-6127: move films example (data) to its own subdirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f429ab914
commit
b520131e23
|
@ -38,12 +38,11 @@ After starting a Solr example, direct your Web browser to:
|
||||||
|
|
||||||
http://localhost:8983/solr/
|
http://localhost:8983/solr/
|
||||||
|
|
||||||
To add documents to the index, use the post.jar (or post.sh script) in
|
To add documents to the index, use bin/post, for example:
|
||||||
the example/exampledocs subdirectory (while Solr is running), for example:
|
|
||||||
|
|
||||||
cd exampledocs
|
bin/post techproducts example/exampledocs/*.xml
|
||||||
java -jar post.jar *.xml
|
|
||||||
Or: sh post.sh *.xml
|
(where "techproducts" is the Solr core name)
|
||||||
|
|
||||||
For more information about this example please read...
|
For more information about this example please read...
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ This will generate a movie data set of 1100 records.
|
||||||
These are the first 1100 movies which appear when querying the Freebase of type '/film/film'.
|
These are the first 1100 movies which appear when querying the Freebase of type '/film/film'.
|
||||||
Here is the link to the freebase page - https://www.freebase.com/film/film?schema=
|
Here is the link to the freebase page - https://www.freebase.com/film/film?schema=
|
||||||
|
|
||||||
Usage - python3 exampledocs_generator.py
|
Usage - python3 film_data_generator.py
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import csv
|
import csv
|
Loading…
Reference in New Issue