SOLR - indexing JSON

2015-11-16 Thread Joe Olson
Using the default YZ index schema, I know I can index: dataset={ indexed_s:"Blah" } I also know I can index: dataset={ indexed_s:"Blah", notindexed: 52 } However, when I add: dataset={ indexed_s:"Blah", notindexed: 52, otherstuff:{"something":1, "something_else":2} } the

MapReduce "not_found" from Solr search index

2015-11-16 Thread Ellis Pritchard
Hi, I've configured a Solr search index ("erights-users") for my bucket (named "missing", default type), containing a bunch of JSON documents, with a search schema ("erightsuser"); this seems to be working OK for simple queries, i.e. I can run a Solr query against it and it returns expected

Re: riak-cs sync buckets from S3 to Riak-cs

2015-11-16 Thread Shunichi Shinohara
Hi Alberto, I didn't look into boto implementation, but I suspect that COPY Object API does NOT work between different S3-like systems. The actual interface definition of the API is [1] and source bucket/key is just a string in the x-amz-copy-source header. The request went into the system that

Re: Mecking riakc_pb_socket:get/3

2015-11-16 Thread Shunichi Shinohara
Hi Michael, Sorry for very late response. I tried mecking the module in erl shell. In list passing style for expected arguments, Pid in call should be the same term you passed in expect call, unless function_clause is thrown. > Pid = self(). <0.43.0> > meck:expect(riakc_pb_socket, get, [Pid,

Re: simpler implementation of RiakMap

2015-11-16 Thread Alex Moore
Hey David, So with the CRDT Map implementation, you can have a register, a counter, an inner map, a set, and a flag embedded within a map, all with the same name (oh my!). In the underlying API the map entry identifier is actually made of both the name and the type, so you can pull off that bit

Re: handling failure in RiakCommand#execute

2015-11-16 Thread Alex Moore
Hey David, If you use the synchronous RiakCommand.execute method and it errors out, then the method will returned a checked ExecutionException wrapping the original exception ( https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/api/RiakCommand.java#L85),