[Blacklight-development] indexing woes

Jonathan Rochkind rochkind at jhu.edu
Thu May 8 12:26:24 EDT 2008


Okay, I'm having trouble even getting the 11 sample records supplied 
with the blacklight importer to index correctly!

The error that appears in console is given below. Note that the indexer 
still reports "Indexed 11" at the end.  But when I look at my SOLR 
stats, there are still 0 docs.

I have tried both with and without Naomi's suggested change to 
importSamples.properties.

As an enhancement request, it would be nice if the indexer told you how 
many records it ACTUALLY indexed. If an error prevented the indexing of 
some or all records, it should tell you that, not lie to you and say it 
indexed 11. :)

I'm about to go to lunch, but maybe after lunch Rob would be available 
for a  phone call or something?

Jonathan

********************************
Adding record 1: u2
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at SolrIndexer.handleCustom(Unknown Source)
        at SolrIndexer.indexRecord(Unknown Source)
        at MarcImporter.addToIndex(Unknown Source)
        at MarcImporter.importRecords(Unknown Source)
        at MarcImporter.main(Unknown Source)
Caused by: java.lang.IncompatibleClassChangeError
        at BlacklightIndexer.getCallNumberCleaned(Unknown Source)
        ... 9 more
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at SolrIndexer.handleCustom(Unknown Source)
        at SolrIndexer.indexRecord(Unknown Source)
        at MarcImporter.addToIndex(Unknown Source)
        at MarcImporter.importRecords(Unknown Source)
        at MarcImporter.main(Unknown Source)
Caused by: java.lang.IncompatibleClassChangeError
        at BlacklightIndexer.getCallNumberPrefix(Unknown Source)
        ... 9 more
***********************************************************

-- 
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886 
rochkind (at) jhu.edu



More information about the Blacklight-development mailing list