Hi,

I have following field definition:

  <field name="X" type="slong" indexed="true" stored="true"/>

("slong" as defined in the Solr example schema).

Now initially my Solr index is empty.
I realized that as long as I do not add a document which defines a value for X which is not Integer.MAX_VALUE, documents added to the index get completely lost!

My workaround is to initially (when the index is still empty) add one document with a value for field X of e.g. 1. In the following, I can add arbitrary documents as it should be, e.g. which do not define a value for X at all or which define the value Integer.MAX_VALUE or which define any other value.

This workaround works for me, so it seems to be a bug somewhere..


Reply via email to