lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "DataImportHandler" by TatsuyaOiwa
Date Thu, 01 Mar 2012 11:34:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DataImportHandler" page has been changed by TatsuyaOiwa:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=311&rev2=312

Comment:
Modified sample scheme.xml of indexing wikipedia.

  The relevant portion of schema.xml is below:
  
  {{{
- <field name="id"        type="integer" indexed="true" stored="true" required="true"/>
+ <field name="id"        type="string"  indexed="true" stored="true" required="true"/>
  <field name="title"     type="string"  indexed="true" stored="false"/>
  <field name="revision"  type="sint"    indexed="true" stored="true"/>
  <field name="user"      type="string"  indexed="true" stored="true"/>
- <field name="userId"    type="integer" indexed="true" stored="true"/>
+ <field name="userId"    type="int"     indexed="true" stored="true"/>
  <field name="text"      type="text"    indexed="true" stored="false"/>
  <field name="timestamp" type="date"    indexed="true" stored="true"/>
  <field name="titleText" type="text"    indexed="true" stored="true"/>

Mime
View raw message