Hi guys,

  I have a small SolrCloud setup (3 servers, 1 collection with 1 shard and 3 
replicat).  In my schema, I have a alphaOnlySort field with a copyfield.

This is a part of my managed-schema :

    <field name="_root_" type="string" indexed="true" stored="false"/>
    <field name="_uid" type="string" multiValued="false" indexed="true" 
required="true" stored="true"/>
    <field name="_version_" type="long" indexed="true" stored="true"/>
    <field name="event_id" type="string" indexed="true" stored="true"/>
    <field name="event_name" type="text_general" indexed="true" stored="true"/>
    <field name="event_name_sort" type="alphaOnlySort"/>

with the copyfield

  <copyField source="event_name" dest="event_name_sort"/>


The problem is : I query my collection with a sort on my alphasort field but on 
one of my servers, the sort order is not the same.

On server 1 and 2, I have this result :

<doc>
<str name="event_name">MB20140410A</str>
</doc>
<doc>
<str name="event_name">MB20140410A-New</str>
</doc>
<doc>
<str name="event_name">MB20140411A</str>
</doc>



and on the third one, this :

<str name="event_name">MB20140410A</str>
</doc>
<doc>
<str name="event_name">MB20140411A</str>
</doc>
<doc>
<str name="event_name">MB20140410A-New</str>
</doc>


The doc named "MB20140411A" should be at the end ...

Any idea ?

Regards

Reply via email to