Re: Warning: no uniqueKey specified in schema.

2013-05-24 Thread O. Olson
Thank you Shawn for clearing this up. I was only using the “db” core, and
forgot that this example had a few other cores which have their own
schema.xml. I commented out this core in the solr.xml and now get no
warnings :-).

O. O.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Warning-no-uniqueKey-specified-in-schema-tp4065791p4065944.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Warning: no uniqueKey specified in schema.

2013-05-23 Thread Shawn Heisey

On 5/23/2013 3:50 PM, O. Olson wrote:

I just downloaded Apache Solr 4.3.0 from 
http://lucene.apache.org/solr/. I
then got into the /example directory and started Solr with:


java -Djava.util.logging.config.file=etc/logging.properties
-Dsolr.solr.home="./example-DIH/solr/" -jar start.jar


I have not made any changes at this point and I get the following Warning:
no uniqueKey specified in schema.


One of the cores defined in example-DIH, specifically the one named 
tika, does not have uniqueKey in its schema.


example/example-DIH/solr/tika/conf/schema.xml

Thanks,
Shawn



Warning: no uniqueKey specified in schema.

2013-05-23 Thread O. Olson
Hi,

I just downloaded Apache Solr 4.3.0 from 
http://lucene.apache.org/solr/. I
then got into the /example directory and started Solr with: 

> java -Djava.util.logging.config.file=etc/logging.properties
> -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar

I have not made any changes at this point and I get the following Warning:
no uniqueKey specified in schema. 

I have no clue why this error occurs because the schema.xml has
id. Isn’t this correctly defined?? I have not changed
the examples in any way, just ran them. I would like to add that if I use
the normal Solr (not the one with the DataImportHandler): 

> java -Djava.util.logging.config.file=etc/logging.properties -jar start.jar

This warning does not occur here. I’d appreciate any clues on why this
warning occurs in the example-DIH.

Thank you,
O. O.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Warning-no-uniqueKey-specified-in-schema-tp4065791.html
Sent from the Solr - User mailing list archive at Nabble.com.