lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido Medina <>
Subject Re: Is there a way to build indexes using SOLRJ without SOLR instance?
Date Wed, 26 Jun 2013 20:43:56 GMT
Never heard of embedded Solr server, isn't better to just use lucene 
alone for that purpose? Using a helper like Hibernate? Since most 
applications that require indexes will have a relational DB behind the 
scene, it would not be a bad idea to use a ORM combined with Lucene 
annotations (aka hibernate-search)


On 26/06/13 20:30, Alexandre Rafalovitch wrote:
> Yes, it is possible by running an embedded Solr inside SolrJ process.
> The nice thing is that the index is portable, so you can then access
> it from the standalone Solr server later.
> I have an example here:
> , which shows SolrJ running both as a client and with an embedded
> container. Notice that you will probably need more jars than you
> expect for the standalone Solr to work, including a number of servlet
> jars.
> Regards,
>    Alex.
> Personal website:
> LinkedIn:
> - Time is the quality of nature that keeps events from happening all
> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
> book)
> On Wed, Jun 26, 2013 at 2:59 PM, Learner <> wrote:
>> I currently have a SOLRJ program which I am using for indexing the data in
>> SOLR. I am trying to figure out a way to build index without depending on
>> running instance of SOLR. I should be able to supply the solrconfig and
>> schema.xml to the indexing program which in turn create index files that I
>> can use with any SOLR instance. Is it possible to implement this?
>> --
>> View this message in context:
>> Sent from the Solr - User mailing list archive at

View raw message