Skip to content

Apache Lucene open-source search software

doc: reserved names pattern

Yonik Seeley467717e475c3
diff --git a/solr/example/solr/conf/schema.xml b/solr/example/solr/conf/schema.xml
index 4cc889d1f1e..4a6686b23e9 100755
--- a/solr/example/solr/conf/schema.xml
+++ b/solr/example/solr/conf/schema.xml
@@ -885,7 +885,8 @@
<!-- field names should consist of alphanumeric or underscore characters only and
not start with a digit. This is not currently strictly enforced,
but other field names will not have first class support from all components
- and back compatibility is not guaranteed.
+ and back compatibility is not guaranteed. Names with both leading and
+ trailing underscores (e.g. _version_) are reserved.
-->
<field name="id" type="string" indexed="true" stored="true" required="true" />