If you're not using it, remove the QueryElevationComponent from
solrconfig.xml
Erik
On May 11, 2009, at 1:15 PM, jcott28 wrote:
I have a case where I would like a solr index created which disables
the
unique-key option.
I've tried commenting out the <uniqueKey> option and that just
spits out an
error:
SEVERE: org.apache.solr.common.SolrException: QueryElevationComponent
requires the schema to have a uniqueKeyField
I've tried something like this : <uniqueKey required="false"></
uniqueKey>
Nothing seems to do the trick.
The problem with a unique key is that the uniqueness for my results
are
actually based on all the fields in my document. There isn't one
specific
field which is unique. All the fields combined are unique though
(they are
taken directly from a View inside an RDBMS whose primary key is all
of the
columns).
Any help would be greatly appreciated!
Thanks,
Jeff
--
View this message in context:
http://www.nabble.com/Disable-unique-key-for-Solr-index-tp23487249p23487249.html
Sent from the Solr - User mailing list archive at Nabble.com.