Hi All,

I'm doing a project using Stanbol to enhance content of an external Solr
index.
What I basically do is I call Stanbol enhancer endpoint when indexing
documents in Solr to enhance particular field values by extracting Person,
Organization entities.
In Solr dataimport handler we can import large number of documents into
Solr index, and for each document indexed I'm calling Stanbol enhancer to
perform enhancements on the content.

I tested my setup manually indexing 1 document, and it works fine.
However when I trigger a dataimport in Solr with a big number of documents
being indexed, the Stanbol server throws Connection Refused erros as below
[1];
I assume this is because huge number of concurrent connections to Stanbol.

Is there a concurrent request threshold for Stanbol?
How can I increase it?

Thanks,
Dileepa
[1]
com.sun.jersey.api.client.ClientHandlerException:
java.net.ConnectException: Connection refused
at
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:151)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:558)
at
com.solr.stanbol.processor.StanbolContentProcessorFactory.stanbolPost(StanbolContentProcessorFactory.java:115)
at
com.solr.stanbol.processor.StanbolContentProcessorFactory.access$1(StanbolContentProcessorFactory.java:109)
at
com.solr.stanbol.processor.StanbolContentProcessorFactory$StanbolContentProcessor.processAdd(StanbolContentProcessorFactory.java:70)

Reply via email to