Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Luke-4.8.0 does not support DocValuesFormat="Disk" #4

Closed
tokee opened this issue Oct 6, 2014 · 3 comments
Closed

Luke-4.8.0 does not support DocValuesFormat="Disk" #4

tokee opened this issue Oct 6, 2014 · 3 comments

Comments

@tokee
Copy link

tokee commented Oct 6, 2014

Trying to use luke-with-deps-4.8.0.jar to open an index with DocValuesFormat="Disk", created in Solr 4.8, resulted in the following error:

A SPI class of type org.apache.lucene.codecs.DocValuesFormat
with name 'Disk' does not exist. You need to add the corresponding
JAR file supporting this SPI to your classpath.The current classpath
supports the following names: [Lucene42, Lucene45]

The same error is thrown if Solr 4.9 us used to open the index. Disk-format was dropped in Solr 4.9, so it seems that either Luke-4.8.0 was linked with Solr 4.9 or 4.10-files or it does not contain the JAR with that codec format (which might be part of an optional Lucene codec package?).

@DmitryKey
Copy link
Owner

@tokee please use the pre-release https://github.com/DmitryKey/luke/releases/tag/4.8.0.1
and let me know whether it worked for you.

I have tested it with solr-4-8.0 on a field defined like so:

<fieldType name="diskFD" class="solr.StrField" docValuesFormat="Disk" />
<field name="docValuesField" type="diskFD" indexed="true" docValues="true" default="1" />

DmitryKey pushed a commit that referenced this issue Oct 17, 2014
@tokee
Copy link
Author

tokee commented Oct 29, 2014

I can verify that the luke 4.8.0.1-release does support the Disk-format for our setup.
Thank you for fixing this.

@tokee tokee closed this as completed Oct 29, 2014
@DmitryKey
Copy link
Owner

Great, you are welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants