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 ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Romi <romijain3...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Fri, May 27, 2011 5:36:22 AM > Subject: How to disable QueryElevationComponent > > 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 uniqueKeyField. > it means QueryElevationComponent requires a uniqueKey field.then how can i > disable this QueryEvelationComponent. please reply. > > ----- > Thanks & Regards > Romi > -- > View this message in context: >http://lucene.472066.n3.nabble.com/How-to-disable-QueryElevationComponent-tp2992195p2992195.html > > Sent from the Solr - User mailing list archive at Nabble.com. >