David,
I'm sure your version of Riak CS is 1.5.0. At 1.5.0 we fixed bug #475
by traversing whole bucket in creation and deletion [1]. This traverse
reads all objects in the bucket, even if it is already deleted.
Deleted objects remains physically for a while - (called leeway
seconds) - with it's m
In testing Riak CS I've noticed that buckets that have had a lot of object
updates take a while to delete even if they're empty at the time of
deletion. Also, after deletion, creating a new bucket with the same name
takes a similar amount of time. This effect seems to persist indefinitely.
Here's
And, afaik, a single index.xml file with multiple docs should probably be
broken up into one file per doc to make better use of the parallelism already
mentioned.
Regards,
Alexander
@siculars
http://siculars.posthaven.com
Sent from my iRotaryPhone
> On Aug 14, 2014, at 10:43, "Eric Redmond"
Note that the search-cmd is for search pre 2.0, which does not use solr. If you're planning on using the new Solr based search, you'll need to run Riak 2.0, and write an import script as Dmitri pointed out.
Eric Redmond, Engineer @ Basho
On Thu, Aug 14, 2014 at 7:38 AM, Dmitri Zagidulin
Hi Mark,
The best way to bulk load objects into Riak (and into Solr) is to take
advantage of Riak's parallelism.
Spin up a bunch of worker threads (and have them share a pool of
connections) and have them issue parallel concurrent puts to all of the
nodes in a cluster (you can either use something
Hello
What's the fastest way (best practice) to insert 20 million documents into a
Riak Search index?
search-cmd solr my_bucket /insert.xml
For a proof-of-concept I've create a file (index.html) containing 100,000
documents:
:
Thanks
Mark Thomas | Software Engineer | Equifax UK
p: +4
Hello
How do I bulk delete from an index?
I tried the following but nothing was deleted:
search-cmd solr my_bucket /delete.xml
Where delete.xml contains:
*:*
Interestingly, this query does not return any documents:
search-cmd search my_bucket *:*
Mark Thomas | Software Engineer | Equifax UK