You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/30 12:44:33 UTC

[Solr Wiki] Update of "DataImportHandler" by FergusMcMenemie

Dear Wiki user,

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

The following page has been changed by FergusMcMenemie:
http://wiki.apache.org/solr/DataImportHandler

The comment on the change is:
improved the explanation of XPathEntityProcessor xpath entity field

------------------------------------------------------------------------------
   * '''`flatten`''' (optional) : If this is set to true, text from under all the tags are extracted into one field , irrespective of the tag name. <!> ["Solr1.4"]
  
  
- The fields can have the following attributes (over and above the default attributes):
+ The entity fields can have the following attributes (over and above the default attributes):
-  * '''`xpath`''' (required) : The xpath expression of the field to be mapped as a column in the record . It can be omitted if the column does not come from an xml attribute. That means it can be a synthetic field created by a transformer. If a field is marked as multivalued in the schema and in a given row if the xpath finds multiple values it is handled automatically by the X!PathEntityProcessor. No extra configuration is required
+  * '''`xpath`''' (optional) : The xpath expression of the field to be mapped as a column in the record . It can be omitted if the column does not come from an xml attribute is a synthetic field created by a transformer. If a field is marked as multivalued in the schema and in a given row of the xpath finds multiple values it is handled automatically by the X!PathEntityProcessor. No extra configuration is required
  
   * '''`commonField`''' : can be (true| false) . If true, this field once encountered in a record will be copied to other records before creating a Solr document