Skip to content

Instantly share code, notes, and snippets.

@rsds143
Last active April 29, 2016 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsds143/36abe7538944fed4a0120bc7cc288c85 to your computer and use it in GitHub Desktop.
Save rsds143/36abe7538944fed4a0120bc7cc288c85 to your computer and use it in GitHub Desktop.
<?xml version=”1.0" encoding=”UTF-8" standalone=”no”?>
<schema name=”autoSolrSchema” version=”1.5">
<types>
<fieldType class=”org.apache.solr.schema.TextField” name=”TextField”>
<analyzer type="index">
<tokenizer/>
</analyzer>
</fieldType>
<fieldType class=”org.apache.solr.schema.StrField” name=”StrField”/></types>))
<fields>
<field indexed=”true” name=”value” stored=”true” type=”TextField”/>
<field indexed=”true” name=”id” stored=”true” type=”TextField”/>
</fields>
<uniqueKey>id</uniqueKey>
</schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment