Problem with Solr Search
fdushin at basho.com
Sat Apr 1 17:02:32 EDT 2017
> On Mar 30, 2017, at 12:58 AM, Nguyễn Văn Nghĩa Em <nghiaem at gmail.com> wrote:
> I have met some problems:
> 1. Create search index with error: "Can not create search index on all nodes". This error appear after 30 seconds timeout. I opened the index folder in /var/lib/riak/yz, I found that there are some folder without core.properties file. I don't know whether it is normal or not.
Need to get to the bottom of this, before doing any performance testing. If you don't have an search index on a node, you will not get reliable search results.
I would check to make sure Solr is running properly on the nodes on which you are not finding the index. If you look at the logic for creating a local index , you should see some checks to see if the index is in metadata or on disk. You should see some entries in the logs that will show either success or errors on creation. Check the error logs, to ensure you are not getting errors communicating with Solr.
Also, note that 2.1.1 is fairly old. Significant improvement with batching and asynchronous writes to Solr were added in Riak 2.2, and the latest release of the 2.2 branch is 2.2.2.
> 2. When I make a searching load test with Riak Benchmark tool with about 1000 Request Per second. I see about 5-10% error which relate to "Failed to search". But when I make a load test with Solr HTTP API, the throuput is about 2000 Request Per Second without any error. It may be the problem in Riak config. I hope someone can show me why this error happend
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users