Is it possible to use multiple index data directory in Apache Solr?

2015-02-28 Thread Jou Sung-Shik
I'm new in Apache Lucene/Solr.

I try to move from Elasticsearch to Apache Solr.

So, I have a question about following index data location configuration.


*in Elasticsearch*

# Can optionally include more than one lo # the locations (a la RAID 0) on
a file l # space on creation. For example:
#
# path.data: /path/to/data1,/path/to/data2

*in Apache Solr*

/var/data/solr/


I want to configure multiple index data directory like Elasticsearch in
Apache Solr.

Is it possible?

How I can reach the goal?





-- 
-
BLOG : http://www.codingstar.net
-


Using HDFS with Solr

2015-03-01 Thread Jou Sung-Shik
Hello.

I have a question about using HDFS with Solr.

I watched when one of shard node is gone, another node take them like this
graph in admin console.


  *(10.62.65.46
is Gone)*

+- shard
1-10.62.65.48 (active)
collection-hdfs---+- shard
2-10.62.65.47 (active)
+- shard
3-10.62.65.48 (active)

So, when 10.62.65.46 is restarted but shard 1 is still assignd 10.62.65.48
node.

Is it right?

I think shard 1 assignd 10.62.65.46 node instead of 10.62.65.48 node.

Please comment me.

Thanks.

-- 
-
BLOG : http://www.codingstar.net
-