So I did the following (seemingly) reasonable set of steps...

   1. Set up a Solr Cloud instance with mutable managed schema (data driven
   config)
   2. Tossed a couple docs in just to see it work.
   3. Tried to sort on 'title', realized title had been guessed as
   multivalued.
   4. Changed the field to type=string (as opposed to strings) using schema
   api
   5. Tried to sort on title

The result is

   -

   "trace": "java.lang.IllegalStateException: unexpected docvalues
type SORTED_SET for field 'title' (expected=SORTED). Use
UninvertingReader or index with docvalues.\n\tat
org.apache.lucene.index.DocValues.checkField(DocValues.java:208)

   - Resending the curl command to re-index the docs hangs

However, I have not played with schemaless or the schema api before, so
maybe I've missed something, and my steps are not reasonable, and thus this
sanity check before I file a bug.

-Gus

-- 
http://www.the111shift.com

Reply via email to