Hi, Miguel, any luck with making CB work with Riak 2.0?
On Tuesday, December 16, 2014 at 1:24:33 AM UTC+3, Miguel Benitez wrote:Thanks ibrahim,This the result for my props* About to connect() to localhost port 8098 (#0)* Trying ::1...* Conexión rehusada* Trying 127.0.0.1...* connected* Connected to localhost (127.0.0.1) port 8098 (#0)> GET /buckets/greetings/props HTTP/1.1> User-Agent: curl/7.26.0> Host: localhost:8098> Accept: */*>* HTTP 1.1 or later with persistent connection, pipelining supported< HTTP/1.1 200 OK< Vary: Accept-Encoding< Server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)< Date: Mon, 15 Dec 2014 22:16:10 GMT< Content-Type: application/json< Content-Length: 474<* Connection #0 to host localhost left intact{"props":{"allow_mult":false,"basic_quorum":false,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"dvv_enabled":false,"dw":"quorum","last_write_wins":false,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":3,"name":"greetings","notfound_ok":true,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[],"pw":0,"r":"quorum","rw":"quorum","search_index":"greetings","small_vclock":50,"w":"quorum","young_vclock":20}}* Closing connection #0I have an index called greetings, with a predetermined scheme, which is associated with greetings bucket, I can insert data to the bucket and list all data from the bucket, but when I try using a conditions query it returns a empty list [],This is my index definition:* About to connect() to localhost port 8098 (#0)* Trying ::1...* Conexión rehusada* Trying 127.0.0.1...* connected* Connected to localhost (127.0.0.1) port 8098 (#0)> GET /search/index/greetings HTTP/1.1> User-Agent: curl/7.26.0> Host: localhost:8098> Accept: */*>* additional stuff not fine transfer.c:1037: 0 0* HTTP 1.1 or later with persistent connection, pipelining supported< HTTP/1.1 200 OK< Server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)< Date: Mon, 15 Dec 2014 22:19:24 GMT< Content-Type: application/json< Content-Length: 53<* Connection #0 to host localhost left intact{"name":"greetings","n_val":3,"schema":"_yz_default"}* Closing connection #0
On Saturday, December 13, 2014 3:00:59 AM UTC-4:30, İbrahim Yılmaz wrote:Hi Miguel,
Please chek with the following command that your bucket has "searchbucket" in props :
curl -v http://127.0.0.1:8098/buckets/test/props
On Saturday, December 13, 2014 12:03:15 AM UTC+2, Miguel Benitez wrote:Hello community, our company recently decided to start a new development leveraging the benefits of [ChicagoBoss 0.8.12] and [Riak 2.0.2], after making the necessary configurations everything seems to work until you try to do a search from the ChicagoBoss ORM: boss_db: find (model, [{id, 'equals', Id}]). yielding an error. After reading countless amounts of articles and documentation, we decided to enable Riak Search, but now the search returns an empty list [].ChicagoBoss' ORM uses riakc (Erlang Riak Client, the official client by basho) and this sets the Content-Type to "application / x-erlang-binary", I wonder if this has something to do with indexing, perhaps it prevents the object being indexed?I wonder if anyone has information. Any help would be welcome.Greetings--Miguel BenitezSystrix LLCTo view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/7c2c95dc-09d8-46ef-b93c-bd276976858e%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.