Hmmm, you may want to investigate the new "no-war" solution. Solr runs
as a service with start/stop scripts. Currently it uses an underlying
Jetty container, but that will (probably) eventually change and is
pretty much considered an "implementation detail". Not quite sure
whether it'd be easier or harder for you though.

Best,
Erick

On Wed, Aug 5, 2015 at 1:08 PM, Robert Krüger <krue...@lesspain.de> wrote:
> I just saw lots of deprecation warnings in my current code and a method
> that was removed, which is why I asked.
>
> Regarding the use case, I am embedding it with a desktop application just
> as others use java-based no-sql or rdbms engines and that makes sense
> architecturally in my case and is just simpler than deploying a separate
> little tomcat instance. API-wise, I know it is the same and it would be
> doable to do it that way. The embedded option is just the logical and
> simpler choice in terms of delivery, packaging, installation, automated
> testing in this case. The network option just doesn't add anything here
> apart from overhead (probably negligible in our case) and complexity.
>
> So our use is in production but in a desktop way, not what people normally
> think about when they hear "production use".
>
> Thanks everyone for the quick feedback! I am very relieved to hear it is
> not on its way out and I will look at the api changes more closely and try
> to get our application running on 5.2.1.
>
> Best regards,
>
> Robert
>
> On Wed, Aug 5, 2015 at 4:34 PM, Erick Erickson <erickerick...@gmail.com>
> wrote:
>
>> Where did you see that? Maybe I missed something yet
>> again. This is unrelated to whether we ship a WAR if that's
>> being conflated here.
>>
>> I rather doubt that embedded is "on it's way out", although
>> my memory isn't what it used to be.
>>
>> For starters, MapReduceIndexerTool uses it, so it gets
>> regular exercise from that, and anything removing it would
>> require some kind of replacement.
>>
>> How are you using it that you care? Wondering what
>> alternatives exist...
>>
>> Best,
>> Erick
>>
>>
>> On Wed, Aug 5, 2015 at 9:09 AM, Robert Krüger <krue...@lesspain.de> wrote:
>> > Hi,
>> >
>> > I tried to upgrade my application from solr 4 to 5 and just now realized
>> > that embedded use of solr seems to be on the way out. Is that correct or
>> is
>> > there a just new API to use for that?
>> >
>> > Thanks in advance,
>> >
>> > Robert
>>
>
>
>
> --
> Robert Krüger
> Managing Partner
> Lesspain GmbH & Co. KG
>
> www.lesspain-software.com

Reply via email to