Hi Ron,

If you turn off autoCommit and only commit after your delete and refresh,
the user's experience will be totally uninterrupted. Commits are used to
control visibility in a Solr index.


Michael Della Bitta

------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271

www.appinions.com

Where Influence Isn’t a Game


On Wed, Jan 23, 2013 at 2:32 PM, Ron Poling <ron.pol...@teamexpress.com>wrote:

> Hello!
>
> I'm new to solr and trying to figure out how to implement it in our
> environment. My question involves building the index. Our data does not
> lend itself to delta updates so we have to build the entire index each
> time. Is there some way to feed solr a file with all index records and tell
> it to throw away all current data and use only the new? I'm guessing that I
> could delete everything and add all the new records, but until the new
> index was built, solr would not be able to service my web app. I would like
> to build the new index in solr and then tell it to switch to it and remove
> the old one. Is that possible? Another way of doing the might be to update
> the current index with the new data and then delete everything that didn't
> get updated.
>
> Any help here would be appreciated so I can focus on the things in the
> wiki that I need to before I start implementing. Thanks!
>

Reply via email to