: When I attempt the second example, of loading the *.xml files, I receive an
: error back.  I tried just one of the XMLs and receive the same error.  

Yeah ... there's a poor assumption here in the tutorial.  note in 
particular this paragraph...

--SNIP--
Solr's install includes a handful of Solr XML formatted files with example 
data (mostly mocked tech product data). NOTE: This tech product data has a 
more domain-specific configuration, including schema and browse UI. The 
bin/solr script includes built-in support for this by running bin/solr 
start -e techproducts which not only starts Solr but also then indexes 
this data too (be sure to bin/solr stop -all before trying it out). 
However, the example below assumes Solr was started with bin/solr start -e 
cloud to stay consistent with all examples on this page, and thus the 
collection used is "gettingstarted", not "techproducts".
--SNIP--

If you use "bin/solr start -e techproducts" (or explicitly create a solr 
collection using the "sample_techproducts" config set) then those 
documents will index just fine -- but the assumption written here in the 
tutorial that you can index those tech product documents to the same 
gettingstarted collection you've been indexing to earlier in the tutorial 
is definitely flawed -- the fieldtype deduction logic that's applied for 
the gettingstarted collection (and the specific type deduced from the 
earlier docs) won't neccessarily apply to the sample tech product 
documents.

https://issues.apache.org/jira/browse/SOLR-8943


-Hoss
http://www.lucidworks.com/

Reply via email to