Skip to content

Commit

Permalink
Add _version_ field for solrcloud compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Apr 14, 2016
1 parent 0ddf30a commit 69286c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solr/conf/schema.xml
Expand Up @@ -459,6 +459,7 @@

<!-- NOTE: this is not a full list of fields in the index; dynamic fields are also used -->
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="_version_" type="long" indexed="true" stored="true" multiValued="false" />
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
<!-- default, catch all search field -->
<field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
Expand Down

0 comments on commit 69286c6

Please sign in to comment.