riaksearch performance, row limit, sorting not necessary
dan.rathbone at gmail.com
Thu Apr 14 05:49:17 EDT 2011
I'm wondering how riaksearch performance will degrade as I add documents.
For my purpose I limit rows at 1k and sorting is not necessary. I have a
single node cluster for development. I know I can increase performance if I
add nodes but I'd like to understand this before I do.
My documents are small ~200 bytes. With an index of 30k and rows limited to
1k, no problems. I added 100k documents, and then I hit
the too_many_results error. Since I still have my row limit set at 1k, this
indicates that the query does not return as soon as it finds the first 1k
hits. Is there a way to short circuit my queries so that they don't have to
scan the whole index?
I got around too_many_results by increasing my max_search_results (I read
wonder, though, if I'll keep bumping memory boundaries as I add a few
million docs to my index.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users