No, I mean the embedded interface and the servlet interface were not
really designed to be used together. Inside the servlet-based
interface, I would use HTTP to get to Solr. Inside an , embedded app,
I would have to use the embedded interface.

However, you can't do this easily in a DIH plug-in. You would have to
custom-code getting an embedded v.s. an HTTP solr server.  If the
embedded interface had an address of "solr://core" this would be very
easy. Other things would also be easy.

https://issues.apache.org/jira/browse/SOLR-1907

Lance

On Fri, May 7, 2010 at 10:09 PM, Blargy <zman...@hotmail.com> wrote:
>
> Thanks for the tip Lance. Just for reference, why is it dangerous to use the
> HTTP method? I realized that the embedded method is probably not the way to
> go (obviously since I was getting that "SEVERE:
> java.util.concurrent.RejectedExecutionException")
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Custom-DIH-variables-tp777696p785161.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to