Hello,

A few questions:

   - Is _version_ required?
   - I see SolrCloud mentioned in some documentation (see below)? Does Riak
   Search use it?
   - How does Riak Search handle optimistic locking?

See this comment on the default_schema.xml on Github:

<!-- TODO: is this needed? -->
<field name="_version_" type="long" indexed="true" stored="true"/>

https://raw.githubusercontent.com/basho/yokozuna/develop/priv/default_schema.xml

Thanks,
David

P.S. Per https://wiki.apache.org/solr/SchemaXml
Recommended fields

While these fields aren't strictly mandatory (Solr will run if you remove
them fully), Bad Things happen in some situations if they aren't defined.
We recommend that you leave these fields alone. If you don't use them,
there's no appreciable penalty.

   -

   id - Almost all Solr installations have this field defined as the
   <uniqueKey> (see below).
   -

   _version_ [image: <!>] Solr4.0 <https://wiki.apache.org/solr/Solr4.0> -
   This field is used for optimistic locking in SolrCloud
   <http://wiki.apache.org/solr/SolrCloud> and it enables Real Time Get
   <http://wiki.apache.org/solr/RealTimeGet>. If you remove it you must
   also remove the transaction logging from solrconfig.xml, see Real Time
   Get <http://wiki.apache.org/solr/RealTimeGet>.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to