TestCSV assumed id was a string

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@801477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-08-06 00:20:38 +00:00
parent aa063a9f75
commit 9a7eb23597
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ import java.util.ArrayList;
public class TestCSVLoader extends AbstractSolrTestCase { public class TestCSVLoader extends AbstractSolrTestCase {
public String getSchemaFile() { return "schema.xml"; } public String getSchemaFile() { return "schema12.xml"; }
public String getSolrConfigFile() { return "solrconfig.xml"; } public String getSolrConfigFile() { return "solrconfig.xml"; }
String filename = "solr_tmp.csv"; String filename = "solr_tmp.csv";

View File

@ -463,8 +463,7 @@
<dynamicField name="*_i" type="int" indexed="true" stored="true"/> <dynamicField name="*_i" type="int" indexed="true" stored="true"/>
<dynamicField name="*_s" type="string" indexed="true" stored="true"/> <dynamicField name="*_s" type="string" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_ss" type="string" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_l" type="long" indexed="true" stored="true"/> <dynamicField name="*_l" type="long" indexed="true" stored="true"/>
<dynamicField name="*_t" type="text" indexed="true" stored="true"/> <dynamicField name="*_t" type="text" indexed="true" stored="true"/>
<dynamicField name="*_tt" type="text" indexed="true" stored="true"/> <dynamicField name="*_tt" type="text" indexed="true" stored="true"/>