You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Xiaocheng Luan <so...@yahoo.com> on 2007/03/20 17:01:36 UTC

newbie questions

Hi,
I have a few general questions:

1. It seems that Solr creates/searches one big index, at least logically - for the current release, does it ever create multiple smaller indexes behind the scene (except for the secondary, temporary ones used for update)?

2. The snapshooter makes a "complete" copy of the index, right? When a snapshot is pulled from master to slave, is it making a complete copy? If snapshots are "fronzen" copies, how does the rsyncd's "copying only the files that actually changed" help, what (e.g., a snapshot?) is the source, and what is the destination?

Thanks!
Xiaocheng




 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

Re: newbie questions

Posted by Chris Hostetter <ho...@fucit.org>.
: 1. It seems that Solr creates/searches one big index, at least logically
: - for the current release, does it ever create multiple smaller indexes
: behind the scene (except for the secondary, temporary ones used for
: update)?

Solr only creates one physical lucene index on disk.

: 2. The snapshooter makes a "complete" copy of the index, right? When a
: snapshot is pulled from master to slave, is it making a complete copy?
: If snapshots are "fronzen" copies, how does the rsyncd's "copying only
: the files that actually changed" help, what (e.g., a snapshot?) is the
: source, and what is the destination?

This is explained fairly in depth on the wiki...

	http://wiki.apache.org/solr/CollectionDistribution

...shapshots aren't copies of the index, they are hardlinks, so no
additional disk space is used. when the snapshot is pulled to the slave,
only the changed parts are pulled because of the way rsync is used.


-Hoss