[ 
https://issues.apache.org/jira/browse/NUTCH-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675324#action_12675324
 ] 

Dmitry Lihachev commented on NUTCH-699:
---------------------------------------

I think we must extends field set for each plugin just like code code below 
{noformat} 
<fields>
  <field name="id" type="string" stored="true" indexed="true"/>

  <!-- core fields -->
  <field name="segment" type="string" stored="true" indexed="false"/>
  <field name="digest" type="string" stored="true" indexed="false"/>
  <field name="boost" type="float" stored="true" indexed="false"/>

  <!-- fields for index-basic plugin -->
  <field name="host" type="url" stored="false" indexed="true"/>
  <field name="site" type="string" stored="false" indexed="true"/>
  <field name="url" type="url" stored="true" indexed="true" required="true"/>
  <field name="content" type="text" stored="false" indexed="true"/>
  <field name="title" type="text" stored="true" indexed="true"/>
  <field name="cache" type="string" stored="true" indexed="false"/>
  <field name="tstamp" type="long" stored="true" indexed="false"/>

  <!-- fields for index-anchor plugin -->
  <field name="anchor" type="string" stored="true" indexed="true" 
multiValued="true"/>

  <!-- fields for index-more plugin -->
  <field name="type" type="string" stored="true" indexed="true" 
multiValued="true"/>
  <field name="contentLength" type="long" stored="true" indexed="false"/>
  <field name="lastModified" type="long" stored="true" indexed="false"/>
  <field name="date" type="string" stored="true" indexed="true"/>

  <!-- fields for languageidentifier plugin -->
  <field name="lang" type="string" stored="true" indexed="true"/>

  <!-- fields for subcollection plugin -->
  <field name="subcollection" type="string" stored="true" indexed="true"/>

  <!-- fields for feed plugin -->
  <field name="author" type="string" stored="true" indexed="true"/>
  <field name="tag" type="string" stored="true" indexed="true"/>
  <field name="feed" type="string" stored="true" indexed="true"/>
  <field name="publishedDate" type="string" stored="true" indexed="true"/>
  <field name="updatedDate" type="string" stored="true" indexed="true"/>

</fields>

{noformat} 

> Add an "official" solr schema for solr integration
> --------------------------------------------------
>
>                 Key: NUTCH-699
>                 URL: https://issues.apache.org/jira/browse/NUTCH-699
>             Project: Nutch
>          Issue Type: New Feature
>          Components: indexer
>            Reporter: Doğacan Güney
>            Assignee: Doğacan Güney
>             Fix For: 1.0.0
>
>
> See Andrzej's comments on NUTCH-684 for more info.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to