Created
March 28, 2013 18:16
-
-
Save mumrah/5265560 to your computer and use it in GitHub Desktop.
Snippet from schema.xml showing docValue fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fields> | |
<field name="id" type="string" indexed="true" stored="true" required="true"/> | |
<field name="_version_" type="long" indexed="true" stored="true"/> | |
<!-- DocValue fields --> | |
<field name="threadId_dv" type="string" indexed="false" stored="false" docValues="true" default=""/> | |
<field name="docId_dv" type="tint" indexed="false" stored="false" docValues="true" default="0"/> | |
<field name="wordId_dv" type="tint" indexed="false" stored="false" docValues="true" default="0"/> | |
<field name="word_dv" type="string" indexed="false" stored="false" docValues="true" default=""/> | |
<field name="count_dv" type="tint" indexed="false" stored="false" docValues="true" default="0"/> | |
<!-- Indexed fields --> | |
<field name="threadId_idx" type="string" indexed="true" stored="false"/> | |
<field name="docId_idx" type="tint" indexed="true" stored="false"/> | |
<field name="wordId_idx" type="tint" indexed="true" stored="false"/> | |
<field name="word_idx" type="string" indexed="true" stored="false"/> | |
<field name="count_idx" type="tint" indexed="true" stored="false"/> | |
<field name="text" type="text_en" indexed="true" stored="false"/> | |
<!-- Stored fields --> | |
<field name="threadId" type="string" indexed="false" stored="true"/> | |
<field name="docId" type="tint" indexed="false" stored="true"/> | |
<field name="wordId" type="tint" indexed="false" stored="true"/> | |
<field name="word" type="string" indexed="false" stored="true"/> | |
<field name="count" type="tint" indexed="false" stored="true"/> | |
</fields> | |
<copyField source="threadId" dest="threadId_idx"/> | |
<copyField source="threadId" dest="threadId_dv"/> | |
<copyField source="docId" dest="docId_idx"/> | |
<copyField source="docId" dest="docId_dv"/> | |
<copyField source="wordId" dest="wordId_idx"/> | |
<copyField source="wordId" dest="wordId_dv"/> | |
<copyField source="word" dest="word_idx"/> | |
<copyField source="word" dest="word_dv"/> | |
<copyField source="count" dest="count_idx"/> | |
<copyField source="count" dest="count_dv"/> | |
<copyField source="word" dest="text"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment