Re: Easiest way to embed solr in a desktop application

2015-01-16 Thread Ramkumar R. Aiyengar
That's correct, even though it should still be possible to embed Jetty, that could change in the future, and that's why support for pluggable containers is being taken away. If you need to deal with the index at a lower level, there's always Lucene you can use as a library instead of Solr. But I

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Shawn Heisey
On 1/15/2015 8:06 AM, Robert Krüger wrote: > I was considering the programmatic Jetty option but then I read that Solr 5 > no longer supports being run with an external servlet container but maybe > they still support programmatic jetty use in some way. atm I am using solr > 4.x, so this would work

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Alexandre Rafalovitch
On 15 January 2015 at 09:53, Ahmet Arslan wrote: > http://sourcesense.github.io/solr-packager/ Does this work with modern Solr? Seems to be 4-year-old project with no recent update. Even the parent company seems 'quiet'. But looks interesting in general. Regards, Alex. Sign up for my Sol

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Robert Krüger
I was considering the programmatic Jetty option but then I read that Solr 5 no longer supports being run with an external servlet container but maybe they still support programmatic jetty use in some way. atm I am using solr 4.x, so this would work. No idea if this gets messy classloader-wise in an

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Shawn Heisey
On 1/15/2015 7:44 AM, Robert Krüger wrote: > you are assuming correctly. It is a local, non-distributed index that > is only accessed by the containing desktop application. Do you know > if there is a possibility to run the Solr admin UI on top of an > embedded instance somehow? To have the admin

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Robert Krüger
Hi Ahmet, at first glance, I'm not sure. Need to look at it more carefully. Thanks, Robert On Thu, Jan 15, 2015 at 3:53 PM, Ahmet Arslan wrote: > Hi Robert, > > Never used by myself but is solr-packager useful in your case? > > http://sourcesense.github.io/solr-packager/ > > Ahmet > > > On Th

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Erik Hatcher
It’d certainly be easiest to just embed Jetty into your application. You don’t need to have Jetty as a separate process, you could launch it through it’s friendly Java API, configured to use solr.war. If all you needed was to make HTTP(-like) queries to Solr instead of the full admin UI, your

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Ahmet Arslan
Hi Robert, Never used by myself but is solr-packager useful in your case? http://sourcesense.github.io/solr-packager/ Ahmet On Thursday, January 15, 2015 4:45 PM, Robert Krüger wrote: Hi Andrea, you are assuming correctly. It is a local, non-distributed index that is only accessed by the c

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Robert Krüger
Hi Andrea, you are assuming correctly. It is a local, non-distributed index that is only accessed by the containing desktop application. Do you know if there is a possibility to run the Solr admin UI on top of an embedded instance somehow? Thanks a lot, Robert On Thu, Jan 15, 2015 at 3:17 PM, A

Re: Easiest way to embed solr in a desktop application

2015-01-15 Thread Andrea Gazzarini
Hi Robert, I've used the EmbeddedSolrServer in a scenario like that and I never had problems. I assume you're talking about a standalone application, where the whole index resides locally and you don't need any cluster / cloud / distributed feature. I think the usage of EmbeddedSolrServer is