Good morning,
I'm using solr 4.0 final on tomcat 7.0.34 on linux
I created 3 new data import handlers to consume 3 RSS feeds.
They seemed to work perfectly.
However, today, I'm getting these errors:
10:42:17        SEVERE  SolrCore        java.lang.IndexOutOfBoundsException: 
Index: 9,​
Size: 8
10:42:17        SEVERE  SolrDispatchFilter 
null:java.lang.IndexOutOfBoundsException: Index: 9,​ Size: 8
10:42:17        SEVERE  SolrCore        org.apache.solr.common.SolrException: 
Server at
https://search:7443/solr/Communities returned non ok status:500,​
message:Internal Server Error
10:42:17        SEVERE  SolrDispatchFilter 
null:org.apache.solr.common.SolrException: Server at
https://search/solr/Communities returned non ok status:500,​
message:Internal Server Error

I read that the index is corrupt so I deleted it and restarted and then the
same errors jumped to the next core with the DIH for the RSS feed.

How do I fix this?

Here's my dih in solrconfig.xml
  <requestHandler name="/DIHCommunityFeed"
class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
            <str name="config">dih-comm-feed.xml</str>
             <str name="update.chain">SemaAC</str>
    </lst>
  </requestHandler>
        
Here's the dih config
<?xml version="1.0" encoding="UTF-8" ?>
<dataConfig>
<dataSource type="URLDataSource" />
<document>
<entity name="communitiesFeed"
            pk="id"
            url="https://search/C3CommunityFeedDEV/";
            processor="XPathEntityProcessor"
            forEach="/rss/channel/item"
            transformer="DateFormatTransformer">

                <field column="id" xpath="/rss/channel/item/id" />
                <field column="link" xpath="/rss/channel/item/link" />
                <field column="communitytitle" xpath="/rss/channel/item/title" 
/>
                <field column="pubdateiso" xpath="/rss/channel/item/pubDate"
dateTimeFormat="yyyy-MM-dd" />
                <field column="category" xpath="/rss/channel/item/category" />
                <field column="author" xpath="/rss/channel/item/author" />
                <field column="authoremail" 
xpath="/rss/channel/item/authoremail" />
                <field column="content" xpath="/rss/channel/item/content" />
                <field column="summary" xpath="/rss/channel/item/summary" />
                
        
    </entity>
</document>
</dataConfig>

Here a partial of my schema
   <field name="title" type="text_general" indexed="true" stored="true"
multiValued="true"/>
   <field name="subject" type="text_general" indexed="true" stored="true"/>
   <field name="description" type="text_general" indexed="true"
stored="true"/>
   <field name="comments" type="text_general" indexed="true" stored="true"/>
   <field name="author" type="text_general" indexed="true" stored="true"/>
   <field name="authoremail" type="text_general" indexed="true"
stored="true"/>
   <field name="keywords" type="text_general" indexed="true" stored="true"/>
   <field name="category" type="text_general" indexed="true" stored="true"/>
   <field name="content_type" type="string" indexed="true" stored="true"
multiValued="true"/>
   <field name="last_modified" type="date" indexed="true" stored="true"/>
   <field name="links" type="string" indexed="true" stored="true"
multiValued="true"/>
   
   <field name="solr.title" type="string" indexed="true" stored="true"
multiValued="false" />
   <field name="communitytitle" type="string" indexed="true" stored="true"
multiValued="false" />
   <field name="content" type="string" indexed="true" stored="true"
multiValued="true"/>

   
   <field name="pubdateiso" type="date" dateTimeFormat="yyyy-MM-dd"
indexed="true" stored="true" multiValued="true"/>
   <field name="link" type="string" indexed="true" stored="true"
multiValued="true"/>
   <field name="summary" type="text_general" indexed="true" stored="true"/>   
   <field name="published" type="date" indexed="true" stored="true"
multivalued="true" />
   <field name="updated" type="date" indexed="true" stored="true"
multivalued="true" />

   <copyField source="link" dest="text"/>
   <copyField source="description" dest="text"/>
   <copyField source="communitytitle" dest="text"/>
   <copyField source="communitytitle" dest="solr.title"/>
   <copyField source="content" dest="text"/>
   <copyField source="author" dest="text"/>
   <copyField source="authoremail" dest="text"/>
   <copyField source="summary" dest="text"/>   



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Indexoutofbounds-size-9-index-8-with-data-import-handler-tp4084812.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to