RE: Could I use Solr to index multiple applications?

2012-07-18 Thread Zhang, Lisheng
Yury and Shashi,

Thanks very much for helps! I am studying the options pointed
out by you (Solr multiple cores and Elasticsearch).

Best regards, Lisheng

-Original Message-
From: Yury Kats [mailto:yuryk...@yahoo.com]
Sent: Tuesday, July 17, 2012 7:19 PM
To: solr-user@lucene.apache.org
Subject: Re: Could I use Solr to index multiple applications?


On 7/17/2012 9:26 PM, Zhang, Lisheng wrote:
 Thanks very much for quick help! Multicore sounds interesting,
 I roughly read the doc, so we need to put each core name into
 Solr config XML, if we add another core and change XML, do we
 need to restart Solr?

You can add/create cores on the fly, without restarting.
See http://wiki.apache.org/solr/CoreAdmin#CREATE


Re: Could I use Solr to index multiple applications?

2012-07-17 Thread Shashi Kant
Look up multicore solr. Another choice could be ElasticSearch - which
is more straightforward in managing multiple indexes IMO.



On Tue, Jul 17, 2012 at 7:53 PM, Zhang, Lisheng
lisheng.zh...@broadvision.com wrote:
 Hi,

 We have an application where we index data into many different directories 
 (each directory
 is corresponding to a different lucene IndexSearcher).

 Looking at Solr config it seems that Solr expects there is only one indexed 
 data directory,
 can we use Solr for our application?

 Thanks very much for helps, Lisheng



RE: Could I use Solr to index multiple applications?

2012-07-17 Thread Zhang, Lisheng
Thanks very much for quick help! Multicore sounds interesting,
I roughly read the doc, so we need to put each core name into
Solr config XML, if we add another core and change XML, do we
need to restart Solr?

Best regards, Lisheng

-Original Message-
From: shashi@gmail.com [mailto:shashi@gmail.com]On Behalf Of
Shashi Kant
Sent: Tuesday, July 17, 2012 5:46 PM
To: solr-user@lucene.apache.org
Subject: Re: Could I use Solr to index multiple applications?


Look up multicore solr. Another choice could be ElasticSearch - which
is more straightforward in managing multiple indexes IMO.



On Tue, Jul 17, 2012 at 7:53 PM, Zhang, Lisheng
lisheng.zh...@broadvision.com wrote:
 Hi,

 We have an application where we index data into many different directories 
 (each directory
 is corresponding to a different lucene IndexSearcher).

 Looking at Solr config it seems that Solr expects there is only one indexed 
 data directory,
 can we use Solr for our application?

 Thanks very much for helps, Lisheng



Re: Could I use Solr to index multiple applications?

2012-07-17 Thread Shashi Kant
My suggestion would be to look into Multi Tenancy http://www.elasticsearch.org/.
It is easy to setup and use for multiple indexes.


On Tue, Jul 17, 2012 at 9:26 PM, Zhang, Lisheng
lisheng.zh...@broadvision.com wrote:
 Thanks very much for quick help! Multicore sounds interesting,
 I roughly read the doc, so we need to put each core name into
 Solr config XML, if we add another core and change XML, do we
 need to restart Solr?

 Best regards, Lisheng

 -Original Message-
 From: shashi@gmail.com [mailto:shashi@gmail.com]On Behalf Of
 Shashi Kant
 Sent: Tuesday, July 17, 2012 5:46 PM
 To: solr-user@lucene.apache.org
 Subject: Re: Could I use Solr to index multiple applications?


 Look up multicore solr. Another choice could be ElasticSearch - which
 is more straightforward in managing multiple indexes IMO.



 On Tue, Jul 17, 2012 at 7:53 PM, Zhang, Lisheng
 lisheng.zh...@broadvision.com wrote:
 Hi,

 We have an application where we index data into many different directories 
 (each directory
 is corresponding to a different lucene IndexSearcher).

 Looking at Solr config it seems that Solr expects there is only one indexed 
 data directory,
 can we use Solr for our application?

 Thanks very much for helps, Lisheng



Re: Could I use Solr to index multiple applications?

2012-07-17 Thread Yury Kats
On 7/17/2012 9:26 PM, Zhang, Lisheng wrote:
 Thanks very much for quick help! Multicore sounds interesting,
 I roughly read the doc, so we need to put each core name into
 Solr config XML, if we add another core and change XML, do we
 need to restart Solr?

You can add/create cores on the fly, without restarting.
See http://wiki.apache.org/solr/CoreAdmin#CREATE