Skip to content

Commit

Permalink
Changed the id of the document to string because Spring Data Solr sup…
Browse files Browse the repository at this point in the history
…ports only string ids
  • Loading branch information
pkainulainen committed Feb 23, 2013
1 parent 015ec43 commit dd7e195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion running-solr-with-maven/src/main/config/schema.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<schema name="todo" version="1.5">
<fields>
<field name="id" type="long" indexed="true" stored="true" required="true"/>
<field name="id" type="string" indexed="true" stored="true" required="true"/>
<field name="title" type="text_general" indexed="true" stored="true" required="true" multiValued="false"/>
<field name="description" type="text_general" indexed="true" stored="false" multiValued="false"/>

Expand Down

0 comments on commit dd7e195

Please sign in to comment.