doc: field naming

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-03-13 20:07:05 +00:00
parent a56daa639c
commit bd4b19f8ae
1 changed files with 6 additions and 0 deletions

View File

@ -850,6 +850,12 @@
when adding a document.
-->
<!-- field names should consist of alphanumeric or underscore only and
not starting 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.
-->
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/>
<field name="name" type="text_general" indexed="true" stored="true"/>