Romi,
If you don't have a unique ID field, you can always create a UUID - see
http://search-lucene.com/?q=uuid&fc_type=javadoc
If you don't want to use QEC, remove it from the list of components in
solrconfig.xml
Otis
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosyst
Let's back up a bit. Why don't you want a ? It's usually a good
idea to have one, especially if you're using DIH.
Best
Erick
On Fri, May 27, 2011 at 2:53 AM, Romi wrote:
> i removed
> class="org.apache.solr.handler.component.QueryElevationComponent" >
>
> string
> elevate.xml
>
>
> fro
i removed
string
elevate.xml
from solrconfig.xml but it is showing the following exception:
java.lang.NullPointerException
at
org.apache.solr.handler.dataimport.DataImporter.identifyPk(DataImporter.java:152)
at
org.apache.solr.handler.dataimport.DataImporter.(DataI
Remove the component configuration from your solrconfig.
> Hi, in my indexed document i do not want a uniqueKey field, but when i do
> not give any uniqueKey in schema.xml then it shows an exception
> org.apache.solr.common.SolrException: QueryElevationComponent requires the
> schema to have a uni