You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2014/12/30 16:24:29 UTC
svn commit: r1648540 - in /lucene/dev/trunk/solr/example: ./ exampledocs/
films/
Author: ehatcher
Date: Tue Dec 30 15:24:28 2014
New Revision: 1648540
URL: http://svn.apache.org/r1648540
Log:
SOLR-6127: move films example (data) to its own subdirectory
Added:
lucene/dev/trunk/solr/example/films/
lucene/dev/trunk/solr/example/films/README.txt
- copied unchanged from r1648503, lucene/dev/trunk/solr/example/exampledocs/README.txt
lucene/dev/trunk/solr/example/films/film_data_generator.py
- copied, changed from r1648503, lucene/dev/trunk/solr/example/exampledocs/exampledocs_generator.py
lucene/dev/trunk/solr/example/films/films-LICENSE.txt
- copied unchanged from r1648503, lucene/dev/trunk/solr/example/exampledocs/films-LICENSE.txt
lucene/dev/trunk/solr/example/films/films.csv
- copied unchanged from r1648503, lucene/dev/trunk/solr/example/exampledocs/films.csv
lucene/dev/trunk/solr/example/films/films.json
- copied unchanged from r1648503, lucene/dev/trunk/solr/example/exampledocs/films.json
lucene/dev/trunk/solr/example/films/films.xml
- copied unchanged from r1648503, lucene/dev/trunk/solr/example/exampledocs/films.xml
Removed:
lucene/dev/trunk/solr/example/exampledocs/README.txt
lucene/dev/trunk/solr/example/exampledocs/exampledocs_generator.py
lucene/dev/trunk/solr/example/exampledocs/films-LICENSE.txt
lucene/dev/trunk/solr/example/exampledocs/films.csv
lucene/dev/trunk/solr/example/exampledocs/films.json
lucene/dev/trunk/solr/example/exampledocs/films.xml
Modified:
lucene/dev/trunk/solr/example/README.txt
Modified: lucene/dev/trunk/solr/example/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/README.txt?rev=1648540&r1=1648539&r2=1648540&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/README.txt (original)
+++ lucene/dev/trunk/solr/example/README.txt Tue Dec 30 15:24:28 2014
@@ -38,12 +38,11 @@ After starting a Solr example, direct yo
http://localhost:8983/solr/
-To add documents to the index, use the post.jar (or post.sh script) in
-the example/exampledocs subdirectory (while Solr is running), for example:
+To add documents to the index, use bin/post, for example:
- cd exampledocs
- java -jar post.jar *.xml
-Or: sh post.sh *.xml
+ bin/post techproducts example/exampledocs/*.xml
+
+(where "techproducts" is the Solr core name)
For more information about this example please read...
Copied: lucene/dev/trunk/solr/example/films/film_data_generator.py (from r1648503, lucene/dev/trunk/solr/example/exampledocs/exampledocs_generator.py)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/films/film_data_generator.py?p2=lucene/dev/trunk/solr/example/films/film_data_generator.py&p1=lucene/dev/trunk/solr/example/exampledocs/exampledocs_generator.py&r1=1648503&r2=1648540&rev=1648540&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/exampledocs/exampledocs_generator.py (original)
+++ lucene/dev/trunk/solr/example/films/film_data_generator.py Tue Dec 30 15:24:28 2014
@@ -18,7 +18,7 @@ This will generate a movie data set of 1
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=
-Usage - python3 exampledocs_generator.py
+Usage - python3 film_data_generator.py
"""
import csv