Skip to content

Instantly share code, notes, and snippets.

@besquared
Created December 7, 2008 06:11
Show Gist options
  • Select an option

  • Save besquared/33046 to your computer and use it in GitHub Desktop.

Select an option

Save besquared/33046 to your computer and use it in GitHub Desktop.
<add><doc><field name='id'>cartographer::observation:mykey</field><field name='type_s'>cartographer::observation</field><field name='pk_s'>mykey</field><field name='account_s'>my account</field><field name='application_s'>awesome gametacular</field><field name='type_s'>activities</field><field name='dataset_s'>purchases</field><field name='hour_ri'>400126</field><field name='file_s'>abcze.tab.gz2</field><field name='size_ri'>124385</field></doc></add>
<fields>
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="pk_i" type="integer" indexed="true" stored="true"/>
<field name="pk_s" type="string" indexed="true" stored="true"/>
<field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
<dynamicField name="*_i" type="integer" indexed="true" stored="false"/>
<dynamicField name="*_t" type="text" indexed="true" stored="false"/>
<dynamicField name="*_f" type="float" indexed="true" stored="false"/>
<dynamicField name="*_b" type="boolean" indexed="true" stored="false"/>
<dynamicField name="*_d" type="date" indexed="true" stored="false"/>
<dynamicField name="*_s" type="string" indexed="true" stored="false"/>
<dynamicField name="*_ri" type="sint" indexed="true" stored="false"/>
<dynamicField name="*_rf" type="sfloat" indexed="true" stored="false"/>
<dynamicField name="*_facet" type="string" indexed="true" stored="false"/>
<dynamicField name="*_s_mv" type="string" indexed="true" stored="false" multiValued="true"/>
<dynamicField name="*_zh_text" type="text_zh" indexed="true" stored="false" multiValued="true"/>
<dynamicField name="*_display" type="text" indexed="false" stored="true" multiValued="true"/>
</fields>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment