Riak Search Error - Zero Results
rzezeski at basho.com
Tue Oct 11 09:19:09 EDT 2011
Just to humor me can you please paste the result of getting the bucket props
Did you enable the search flag for all nodes in the cluster?
Did you restart the nodes after flipping the config?
You can check to see if the index is growing via `du -hs <path to riak data
dir>/merge_index`. If that number is not going up while indexing then
something is definitely wrong.
Another sanity check you could try is indexing a local file in another
bucket like so;
search-cmd index other_bucket <path to txt file>
On Tue, Oct 11, 2011 at 12:54 AM, Todd Cullen <todd at thoughtleadr.com> wrote:
> Hey all,
> I've been bashing my head against the wall most of the day trying to
> figure this out. I can't get search to return me any results even when it
> should have some positives -> http://pastebin.com/Tu6F2FEG.
> I've just upgraded my Riak install from v0.14 -> v1.0. I wasn't using Riak
> Search previously but have just decided to turn it on and try to get it
> working with the latest release. I actually need to analyze some data
> sitting in there via search (needless to say I'm very behind on jamming out
> a report). I tried to track down an answer on IRC earlier today with no luck
> in finding a result.
> Here's the steps I've gone through today:
> - Flipped the search configuration to true in the app.config file
> - Added the precommit hook to the bucket (lets call it "my_bucket" for
> the time being) and verified them via cURL
> - Setup a script to GET and rePUT all of the KV's in the my_bucket and
> have verified this works
> - Checked the logs folder for any error/warning messages (crash.log,
> error.log, console.log, erlang.log, sasl.log, etc)
> - Tested search via the commandline (e.g. search-cmd search my_bucket
> - Tested search via browser ->
> I'm not really sure what else I can do to fix the issue. Any suggestions on
> what else I should check/verify/double check/triple check? Thanks in
> Todd Cullen
> CTO & Co-Founder
> email: todd at thoughtleadr.com
> phone: 415-254-0787
> skype: todd.cullen
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users