----- Forwarded Message ----
From: "Rajesh@IISc" <rajeshiisc@rocketmail.com>
To: vufind-tech@lists.sourceforge.net
Sent: Wednesday, 19 November, 2008 10:46:46 AM
Subject: problem in importing records in solr

Hi List,

i could sucessfully installed vufind 0.8.2 in ubuntu 8..10.
i am able open and acess vufind and solr site
export JAVA_HOME="/usr/lib/jvm/java-6-sun"
export VUFIND_HOME="/usr/local/vufind"
But i am facing following problem:
  Not importing records

error-log:
####################################################################################
20 Nov, 2008 8:24:36 AM org.apache.solr.core.Config setInstanceDir
INFO: Solr home set to '/usr/local/vufind/solr/'
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrConfig initConfig
INFO: Loaded SolrConfig: solrconfig.xml
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore <init>
INFO: Opening new SolrCore at /usr/local/vufind/solr/, dataDir=/usr/local/vufind/solr/data
20 Nov, 2008 8:24:37 AM org.apache.solr.schema.IndexSchema readConfig
INFO: Reading Solr Schema
20 Nov, 2008 8:24:37 AM org.apache.solr.schema.IndexSchema readConfig
INFO: Schema name=VuFind
20 Nov, 2008 8:24:37 AM org.apache.solr.schema.IndexSchema readConfig
INFO: default search field is title
20 Nov, 2008 8:24:37 AM org.apache.solr.schema.IndexSchema readConfig
INFO: query parser default operator is OR
20 Nov, 2008 8:24:37 AM org.apache.solr.schema.IndexSchema readConfig
INFO: unique key field: id
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore parseListener
INFO: Searching for listeners: //listener[@event="firstSearcher"]
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore parseListener
INFO: Searching for listeners: //listener[@event="newSearcher"]
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore initWriters
INFO: adding queryResponseWriter xslt=org.apache.solr.request.XSLTResponseWriter
20 Nov, 2008 8:24:37 AM org.apache.solr.request.XSLTResponseWriter init
INFO: xsltCacheLifetimeSeconds=5
20 Nov, 2008 8:24:37 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding requestHandler: standard=solr.StandardRequestHandler
20 Nov, 2008 8:24:37 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding requestHandler: dismax=solr.DisMaxRequestHandler
20 Nov, 2008 8:24:37 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding requestHandler: partitioned=solr.DisMaxRequestHandler
20 Nov, 2008 8:24:37 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding requestHandler: instock=solr.DisMaxRequestHandler
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@f47bf5 main
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@f47bf5 main
20 Nov, 2008 8:24:37 AM org.apache.solr.update.DirectUpdateHandler2$CommitTracker <init>
INFO: AutoCommit: if 10000 uncommited docs
Error indexing
java.lang.StringIndexOutOfBoundsException: String index out of range: 38
    at java.lang.String.substring(String.java:1935)
    at org.vufind.marc.MarcImporter.addToIndex(MarcImporter.java:350)
    at org.vufind.marc.MarcImporter.main(MarcImporter.java:201)
20 Nov, 2008 8:24:37 AM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start commit(optimize=true,waitFlush=false,waitSearcher=true)
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@164dbd5 main
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher warm
INFO: autowarming Searcher@164dbd5 main from Searcher@f47bf5 main
    filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher warm
INFO: autowarming result for Searcher@164dbd5 main
    filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher warm
INFO: autowarming Searcher@164dbd5 main from Searcher@f47bf5 main
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher warm
INFO: autowarming result for Searcher@164dbd5 main
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.search..SolrIndexSearcher warm
INFO: autowarming Searcher@164dbd5 main from Searcher@f47bf5 main
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.search..SolrIndexSearcher warm
INFO: autowarming result for Searcher@164dbd5 main
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@164dbd5 main
20 Nov, 2008 8:24:37 AM org.apache.solr.search.SolrIndexSearcher close
INFO: Closing Searcher@f47bf5 main
    filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: end_commit_flush
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore close
INFO: CLOSING SolrCore!
20 Nov, 2008 8:24:37 AM org.apache.solr.core.SolrCore closeSearcher
INFO: Closing main searcher on request.
20 Nov, 2008 8:24:37 AM org..apache.solr.search.SolrIndexSearcher close
INFO: Closing Searcher@164dbd5 main
    filterCache{lookups=0,hits=0,hitratio=0..00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
    documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
20 Nov, 2008 8:24:37 AM org.apache.solr.update.DirectUpdateHandler2 close
INFO: closing DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommits=0,optimizes=1,docsPending=0,deletesPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0,docsDeleted=0}
20 Nov, 2008 8:24:37 AM org.apache.solr..update.DirectUpdateHandler2 close
INFO: closed DirectUpdateHandler2{commits=0,autocommit maxDocs=10000,autocommits=0,optimizes=1,docsPending=0,deletesPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0,docsDeleted=0}


Add more friends to your messenger and enjoy! Invite them now.


Add more friends to your messenger and enjoy! Invite them now.