lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: index storage on other server
Date Fri, 01 Mar 2013 06:04:46 GMT

: I need to store the index folder on other server.
: On local system I have less space so I want to application server(Tomcat)
: in local machine but Index folder or Index can be stored on other machine.

That doesn't really make sense.

the entire point of a system like solr is that it maintains the index 
"under the covers" on the local system, and has fast access to the entire 
index on disk (or in ram) so it can recieve queries from remote clients, 
compute the answers -- which are SMALLER then the size of the index -- and 
send them to the client.

if your index was not locally accessble to solr, and solr had to use 
network IO to access the index on some remote file server, and remotely 
read all of the files to scan the term indexes for matching terms/docs, 
and scan the stored fields for the fields of the resulting docs, to answer 
a client's query, then there wouldn't much point in having solr at all -- 
the clients might as well talk to your remote storage system directly, and 
do the index scanning and computation themselves and cut out hte middle 
man ... but all that network IO for the entire index would be pretty slow, 
and the only way to make it more efficient would be to find some way to 
minimize the amount of data over the wire, possible by delegating some of 
the index scaning and computation onto the remote file server .. at which 
point you have essentially decided to run solr on your remote file server.

see the problem?  it's turtles all the way down.

-Hoss

Mime
View raw message