Hi Rupert,
I had to 'svn update' and generate again the indexer to see the full
stack trace of the exception. The problem turned out to be an encoding
issue within the stopwords_PT.txt file I'm using to process Portuguese
text, now it's fixed :)
Now I'm getting occasional WARNs about some XMLSchema#date not in
lexical form but otherwise it's indexing alright.
Thanks!
Alex
Em 04-11-2011 12:24, Rupert Westenthaler escreveu:
Hi Alex,
the YardException occurs if the SolrIndex used to store the indexed
data encounters some Error. Normally the Exception should be reported,
but a small bug prevented that from happening. I corrected this with
revision 1197527 [1]. Now you should see the stack trace of the
YardExceptions within the log.
To use the newest version you need to update the indexing jar by
#assuming you are in the stanbol root folder
cd /entityhub/indexing
mvn clean install
cd dbpedia
mvn assembly:single
cd target
cp
org.apache.stanbol.entityhub.indexing.dbpedia-0.9.0-incubating-SNAPSHOT-jar-with-dependencies.jar
{you-indexing-folder}
Independent of that you could try if deleting the
{you-indexing-foler}/indexing/destination
{you-indexing-foler}/indexing/dist
folders solves this issue.
If you have not changed the Solr configuration manually you could also
try to delete the
{you-indexing-foler}/indexing/config/dbpedia
folder. This will reinitialize the Solr configuration with the
defaults included within the indexing jar.
best
Rupert
[1] http://svn.apache.org/viewvc?rev=1197527&view=rev
On Fri, Nov 4, 2011 at 12:29 PM, Alex Lopez<[email protected]> wrote:
Hi!
After fulling up the TDB store and calculating the incoming_links scores I
restarted the indexing and I'm getting:
...
11:13:02,916 [Thread-2] INFO solryard.SolrYardIndexingDestination - ...
create SolrYard
11:13:03,119 [main] INFO impl.IndexerImpl - Initialisation completed
11:13:03,119 [main] INFO impl.IndexerImpl - Start Indexing
11:13:03,119 [main] INFO impl.IndexerImpl - Indexing started ...
11:14:11,981 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/France: Unable to store
Entity http://dbpedia.org/resource/France to Yard dbpediaIndex because of an
YardException
11:14:11,981 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/Category:Living_people:
Unable to store Entity http://dbpedia.org/resource/Category:Living_people to
Yard dbpediaIndex because of an YardException
11:14:11,982 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/Germany: Unable to store
Entity http://dbpedia.org/resource/Germany to Yard dbpediaIndex because of
an YardException
11:14:11,982 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/Animal: Unable to store
Entity http://dbpedia.org/resource/Animal to Yard dbpediaIndex because of an
YardException
11:14:11,982 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/Canada: Unable to store
Entity http://dbpedia.org/resource/Canada to Yard dbpediaIndex because of an
YardException
11:14:11,982 [Indexer: Entity Error Logging Daemon] ERROR impl.IndexerImpl -
Error while indexing http://dbpedia.org/resource/United_Kingdom: Unable to
store Entity http://dbpedia.org/resource/United_Kingdom to Yard dbpediaIndex
because of an YardException
...
And many more, one after another, as nothing was actually being indexed. Is
there a way to get better error reporting to know the cause of the problem
or any of you happen to know why this could be happening?
Best,
Alex