Re: How to disable QueryElevationComponent

2011-06-03 Thread Otis Gospodnetic
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

Re: How to disable QueryElevationComponent

2011-05-31 Thread Erick Erickson
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

Re: How to disable QueryElevationComponent

2011-05-27 Thread Romi
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

Re: How to disable QueryElevationComponent

2011-05-27 Thread Markus Jelsma
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