OK, you'll need to re-index. Shutdown, delete the data, re-index.

On Thu, Mar 28, 2013 at 9:12 AM, adityab <aditya_ba...@yahoo.com> wrote:

> Here is the field type definition. same as what you posted yesterday just a
> different name.
>
> <fieldType name="dvLong" class="solr.TrieLongField" precisionStep="0"
> docValuesFormat="Disk" positionIncrementGap="0"/>
>
> And Field Definition
> <field name="lcontNumOfDownloads" type="dvLong" indexed="true"
> stored="true"
> default="0" docValues="true"/>
>
>
> as soon as i restart the server i see the exception in log. removing the
> *docValuesFormat="Disk"* from the field type i don't see this exception.
>
> 01:49:37,177 ERROR [org.apache.solr.core.CoreContainer]
> (coreLoadExecutor-3-thread-1) Unable to create core: collection1:
> org.apache.solr.common.SolrException: FieldType 'dvLong' is configured with
> a docValues format, but the codec does not support it: class
> org.apache.solr.core.SolrCore$3
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:806)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:619)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:1021)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at
> org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at
> org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [rt.jar:1.7.0_09]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [rt.jar:1.7.0_09]
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [rt.jar:1.7.0_09]
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [rt.jar:1.7.0_09]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [rt.jar:1.7.0_09]
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [rt.jar:1.7.0_09]
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [rt.jar:1.7.0_09]
>         at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
> Caused by: org.apache.solr.common.SolrException: FieldType 'dvLong' is
> configured with a docValues format, but the codec does not support it:
> class
> org.apache.solr.core.SolrCore$3
>         at org.apache.solr.core.SolrCore.initCodec(SolrCore.java:854)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:719)
> [solr-core-4.2.0.jar:4.2.0 1453694 - rmuir - 2013-03-06 22:32:13]
>         ... 13 more
>
> 01:49:37,202 ERROR [org.apache.solr.core.CoreContainer]
> (coreLoadExecutor-3-thread-1) null:org.apache.solr.common.SolrException:
> Unable to create core: collection1
>         at
> org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1672)
>         at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:1057)
>         at
> org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634)
>         at
> org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.solr.common.SolrException: FieldType 'dvLong' is
> configured with a docValues format, but the codec does not support it:
> class
> org.apache.solr.core.SolrCore$3
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:806)
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:619)
>         at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:1021)
>         at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051)
>         ... 10 more
> Caused by: org.apache.solr.common.SolrException: FieldType 'dvLong' is
> configured with a docValues format, but the codec does not support it:
> class
> org.apache.solr.core.SolrCore$3
>         at org.apache.solr.core.SolrCore.initCodec(SolrCore.java:854)
>         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:719)
>         ... 13 more
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Too-many-fields-to-Sort-in-Solr-tp4049139p4052036.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Joel Bernstein
Professional Services LucidWorks

Reply via email to