Re: Secondary indexes or Riak search ?

2017-02-13 Thread John Daily
> > A quick look at riak_test it seems that the `return_body` parameter is > generally supported for both HTTP and PB now. I wasn’t aware of that. I’m not sure into which releases the feature has made it, but bewarned: if it works at all, return_body only works for system indexes: $bucket and $

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Alex Feng
so that you don’t need a further object fetch (see return_terms in docs.) > > > Secondary indexes are written atomically with the object they index. > > > Operationally they don’t require you run a JVM and Solr alongside your > riak nodes. > > > > > > You have

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Russell Brown
es are written atomically with the object they index. > > Operationally they don’t require you run a JVM and Solr alongside your riak > > nodes. > > > > You have the tools with basho_bench to answer the question about > > performance and overhead for your workload. I

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Alex Feng
VM and Solr alongside your > riak nodes. > > > > You have the tools with basho_bench to answer the question about > performance and overhead for your workload. I suspect for “overhead” 2i > wins, as there is no JVM-per-node. > > > > Modelling for 2i is perhaps harder

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Russell Brown
u run a JVM and Solr alongside your riak > nodes. > > You have the tools with basho_bench to answer the question about performance > and overhead for your workload. I suspect for “overhead” 2i wins, as there is > no JVM-per-node. > > Modelling for 2i is perhaps harder, in th

Re: Secondary indexes or Riak search ?

2017-02-12 Thread Alex Feng
side your >> riak nodes. >> >> You have the tools with basho_bench to answer the question about >> performance and overhead for your workload. I suspect for “overhead” 2i >> wins, as there is no JVM-per-node. >> >> Modelling for 2i is perhaps harder, in the

Re: Secondary indexes or Riak search ?

2017-02-06 Thread Alex Feng
VM-per-node. > > Modelling for 2i is perhaps harder, in the classical nosql way, you have > to do more work upfront when designing your querying. > > I hope that helps a little. I worked quite a lot on 2i and never really > understood why riak-search was seen as a replacment,

Re: Secondary indexes or Riak search ?

2017-02-06 Thread Russell Brown
t for “overhead” 2i wins, as there is no JVM-per-node. Modelling for 2i is perhaps harder, in the classical nosql way, you have to do more work upfront when designing your querying. I hope that helps a little. I worked quite a lot on 2i and never really understood why riak-search was seen as a repla

Re: Secondary indexes or Riak search ?

2017-02-02 Thread Jason Voegele
2017, at 4:43 AM, Alex Feng wrote: > > Hello Riak-users, > > I am currently using Riak search to do some queries, since my queries are > very simple, it should be fulfilled by secondary indexes as well. > So, my question is which one has better performance and less overhead

Secondary indexes or Riak search ?

2017-02-02 Thread Alex Feng
Hello Riak-users, I am currently using Riak search to do some queries, since my queries are very simple, it should be fulfilled by secondary indexes as well. So, my question is which one has better performance and less overhead, let's say both can fulfill the query requirement. Many than

Re: Riak search, post schema change reindexation

2016-08-29 Thread Guillaume Boddaert
lighthouse-analytics.co>> wrote: Hi, I recently needed to alter my Riak Search schema for a bucket type that contains ~30 millions rows. As a result, my index was wiped since we are waiting for a Riak Search 2.2 feature that will sync Riak storage with Solr index on such an occasio

Re: Riak search, post schema change reindexation

2016-08-29 Thread Fred Dushin
-Fred > On Aug 29, 2016, at 3:56 AM, Guillaume Boddaert > wrote: > > Hi, > > I recently needed to alter my Riak Search schema for a bucket type that > contains ~30 millions rows. As a result, my index was wiped since we are > waiting for a Riak Search 2.2 feature that wil

Riak search, post schema change reindexation

2016-08-29 Thread Guillaume Boddaert
Hi, I recently needed to alter my Riak Search schema for a bucket type that contains ~30 millions rows. As a result, my index was wiped since we are waiting for a Riak Search 2.2 feature that will sync Riak storage with Solr index on such an occasion. I adapted a since script suggested by

Re: Riak Search: cursormark support

2016-07-25 Thread Zeeshan Lakhani
Hello Guillaume, We’re definitely working on it for a future release and there is still an open ticket regarding it: https://github.com/basho/yokozuna/issues/309 . Thanks. Zeeshan Lakhani programmer | software engineer at @basho | org. member/fou

Riak Search: cursormark support

2016-07-25 Thread Guillaume Boddaert
Hi, I'm currently in great pain trying to walk through many records in my Riak yokozuna system. I need to scan data through many pages in Solr for some operation and I really feel the need for cursormark support. I've read that Yokozuna closed a bug on that matter in may. What is the status

Re: Riak Search and custom Solr components

2016-05-31 Thread Steve Garon
> > > On 30 May 2016 at 13:18, Guillaume Boddaert > > wrote: > >> > >> Please allow me to bump this previous message that was sent late last > >> friday and that didn't attract much attention due to a well deserved > >> week-end. >

Re: Riak Search and custom Solr components

2016-05-31 Thread Luke Bakken
low me to bump this previous message that was sent late last >> friday and that didn't attract much attention due to a well deserved >> week-end. >> >> >> On 27/05/2016 19:14, Guillaume Boddaert wrote: >> >> Hi there, >> >> I'm curren

Re: Riak Search and custom Solr components

2016-05-31 Thread Alexander Sicular
>> and that didn't attract much attention due to a well deserved week-end. >> >> >>> On 27/05/2016 19:14, Guillaume Boddaert wrote: >>> Hi there, >>> >>> I'm currently testing custom Component in my Riak Search system. As I need

Re: Riak Search and custom Solr components

2016-05-31 Thread Steve Garon
e Boddaert wrote: > > Hi there, > > I'm currently testing custom Component in my Riak Search system. As I need > a suggestion mechanism from the Solr index, I implemented the Suggester > component (https://wiki.apache.org/solr/Suggester). > It seems to work correctly, yet I have

Re: Riak Search and custom Solr components

2016-05-30 Thread Guillaume Boddaert
Please allow me to bump this previous message that was sent late last friday and that didn't attract much attention due to a well deserved week-end. On 27/05/2016 19:14, Guillaume Boddaert wrote: Hi there, I'm currently testing custom Component in my Riak Search system. As

Riak Search and custom Solr components

2016-05-27 Thread Guillaume Boddaert
Hi there, I'm currently testing custom Component in my Riak Search system. As I need a suggestion mechanism from the Solr index, I implemented the Suggester component (https://wiki.apache.org/solr/Suggester). It seems to work correctly, yet I have some question regarding the usage of c

Re: Riak search with case-insensitive searches

2016-05-15 Thread Alex De la rosa
Yeah... I realised it... either way, my use case doesn't really require case-sensitive searches, so is good for me ;) Thanks, Alex On Sun, May 15, 2016 at 2:06 PM, Vitaly <13vitam...@gmail.com> wrote: > If you take a closer look, you can notice that the idea is to convert the > field to lower ca

Re: Riak search with case-insensitive searches

2016-05-15 Thread Vitaly
If you take a closer look, you can notice that the idea is to convert the field to lower case in insertion/indexing, and then look for a lowercase match during search. Which means you won't be able to use the same field for case-sensitive search. Unfortunately, I'm not aware of other ways of implem

Re: Riak search with case-insensitive searches

2016-05-15 Thread Alex De la rosa
I see, cool :) thanks for the help Alex On Sun, May 15, 2016 at 1:49 PM, Vitaly <13vitam...@gmail.com> wrote: > You can use a case-insensitive field type for this, for example > > sortMissingLast="true" omitNorms="true"> > > > >

Re: Riak search with case-insensitive searches

2016-05-15 Thread Vitaly
You can use a case-insensitive field type for this, for example Of course, you'll have to adjust your datatype/schema to make use of the new type. Regards, Vita

Riak search with case-insensitive searches

2016-05-15 Thread Alex De la rosa
Hi there, Is there a way to make case-insensitive search queries? The following query works fine, but only find the entry if sending "Alex" but not finding anything with "ALEX" or "alex" or "AlEx", etc... http://xxx.xxx.xxx.xxx:8098/search/query/customers?wt=json&q=firstname_register:Alex Thanks

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Alex De la rosa
Oh, nice snippets! thanks Drew! Alex On Fri, May 13, 2016 at 11:28 PM, Drew Kerrigan wrote: > @Alex please kindly take a look at the default solr schema for Riak > Search. You should have based your custom schema on this (if you've created > a custom schema): > https://docs.

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Drew Kerrigan
@Alex please kindly take a look at the default solr schema for Riak Search. You should have based your custom schema on this (if you've created a custom schema): https://docs.basho.com/riak/kv/2.1.4/developing/usage/search-schemas/ -> https://raw.githubusercontent.com/basho/yokozuna/deve

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Alex De la rosa
Yes, using Python client. I'm able to store sets without problem into Riak, just wondered if indexing them in SOLR would be as simple as just adding the multiValued attribute to the "set" field... seems is going to be that way :) Thanks, Alex On Fri, May 13, 2016 at 11:15 PM, Vitaly <13vitam...@g

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Vitaly
In general, Riak/Solr is capable of indexing multi-valued properties (i.g. lists). You're right thinking that multiValued = "true" should be used for it. That said, check if it works with your client library (it's Python, isn't it?). I believe it does. Regards, Vitaly On Fri, May 13, 2016 at 9:59

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Alex De la rosa
Another question... if I have a set of tags for the elements... like photo.set['tags'] with things like: ["holidays", "Hawaii", "2016"]... will it be indexed like this? Thanks, Alex On Fri, May 13, 2016 at 10:52 PM, Alex De la rosa wrote: > Oh!! silly me... *_yz_rb* and *_yz_rt*... how didn't

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Alex De la rosa
Oh!! silly me... *_yz_rb* and *_yz_rt*... how didn't I think of that?... thanks also for the "*:*" tip ; ) Thanks! Alex On Fri, May 13, 2016 at 10:50 PM, Vitaly <13vitam...@gmail.com> wrote: > Hi Alex, > > 'likes_counter:[100 TO *] AND _yz_rb:photos' will limit query results to > the photos buc

Re: Riak search on an index limited to only 1 bucket

2016-05-13 Thread Vitaly
Hi Alex, 'likes_counter:[100 TO *] AND _yz_rb:photos' will limit query results to the photos bucket only. Similarly, "_yz_rt" is for a bucket type. Searching for anything in an index can be done with "*:*" (any field, any value). Regards, Vitaly On Fri, May 13, 2016 at 9:40 PM, Alex De la rosa

Riak search on an index limited to only 1 bucket

2016-05-13 Thread Alex De la rosa
Hi all, Imaging I have an index called "*posts*" where I index the following fields and I reuse the index in 3 buckets: "status", "photos" and "videos"... then I do the following: *results = client.fulltext_search('posts', 'likes_counter:[100 TO *]', sort='likes_counter desc', ro

Re: Language Detection Riak Search

2016-02-21 Thread Colin Walker
Update: Please ignore the last part of my question. It is not taking more than a minute to index a single record, that's just bad logging on my part :) Everything is actually operating smoothly and a large document with language indexing enabled only adds about 0.5 milliseconds. On Sun, Feb 21, 20

Re: Language Detection Riak Search

2016-02-21 Thread Colin Walker
Hello again everyone, Since I am using Java, I ended up going with a solution where I just used the langdetect library right in my Java code and simply appended the language code to the strings I want to be able to search. I've found it's actually much easier than configuring the update request ha

Re: Riak search 2 returning multiple stale results for single record

2016-02-17 Thread Zeeshan Lakhani
and when they might be available? > > Thanks, > Peter > > From: Zeeshan Lakhani mailto:zlakh...@basho.com>> > Date: Monday, 15 February 2016 20:27 > To: Peter Roberts mailto:peter.robe...@piksel.com>> > Cc: "riak-users@lists.basho.com <mailto:riak-users@lists.ba

Re: Riak search 2 returning multiple stale results for single record

2016-02-17 Thread Peter Roberts
m>> Cc: "riak-users@lists.basho.com<mailto:riak-users@lists.basho.com>" mailto:riak-users@lists.basho.com>> Subject: Re: Riak search 2 returning multiple stale results for single record Hello Peter, The cleanup for delete, as a call to SOLR, occurs after the reap hap

Language Detection Riak Search

2016-02-16 Thread Colin Walker
Hey everyone, I am trying to enable language detection in Solr for my Riak nodes. As far as I know this involves adding an extracting request handler in the solrconfig.xml for each Yokozuna index I would like to have the handler applied to on each node. Is there an easy way to configure this in Y

Re: Riak search 2 returning multiple stale results for single record

2016-02-15 Thread Zeeshan Lakhani
ks. Zeeshan Lakhani programmer | software engineer at @basho > On Feb 15, 2016, at 5:33 AM, Peter Roberts wrote: > > We’re currently evaluating whether Riak is suitable for our system and have > an issue with multiple/stale results being returned from Riak search. We’re > reliab

Riak search 2 returning multiple stale results for single record

2016-02-15 Thread Peter Roberts
We’re currently evaluating whether Riak is suitable for our system and have an issue with multiple/stale results being returned from Riak search. We’re reliably seeing this occur when a record is deleted and a new one created under the same key shortly afterwards – which, based on the _yz_id

Re: Riak Search indexing json

2016-02-10 Thread Colin Walker
>> Riak Java client? >> >> Regards, >> Vitaly >> >> >> >> On Wed, Feb 10, 2016 at 5:40 PM, Colin Walker wrote: >> >>> Hello everyone, >>> >>> Sorry for the basic question but I couldn't find the answer in the >>> do

Re: Riak Search indexing json

2016-02-10 Thread Vitaly E
ny reason you don't rely on the JSON serialization built into > Riak Java client? > > Regards, > Vitaly > > > > On Wed, Feb 10, 2016 at 5:40 PM, Colin Walker wrote: > >> Hello everyone, >> >> Sorry for the basic question but I couldn't find the a

Re: Riak Search indexing json

2016-02-10 Thread Zeeshan Lakhani
6 at 5:40 PM, Colin Walker <mailto:co...@musefind.com>> wrote: > Hello everyone, > > Sorry for the basic question but I couldn't find the answer in the > documentation. Does Riak search currently index documents sent as JSON? It > doesn't look like it from the basi

Re: Riak Search indexing json

2016-02-10 Thread Vitaly E
everyone, > > Sorry for the basic question but I couldn't find the answer in the > documentation. Does Riak search currently index documents sent as JSON? It > doesn't look like it from the basic tests that I've run. I am using the new > Solr search on Riak 2.1.3. >

Re: Riak Search indexing json

2016-02-10 Thread Zeeshan Lakhani
Hey Colin, Riak Search definitely indexes json documents. My guess is that your json-object keys are not indexed via the schema? We have an example in the docs page (w/ the Java client as well): http://docs.basho.com/riak/latest/dev/using/search/#Indexing-Values <http://docs.basho.com/r

Riak Search indexing json

2016-02-10 Thread Colin Walker
Hello everyone, Sorry for the basic question but I couldn't find the answer in the documentation. Does Riak search currently index documents sent as JSON? It doesn't look like it from the basic tests that I've run. I am using the new Solr search on Riak 2.1.3. When I send dat

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Zeeshan Lakhani
Yep, it was changed in latest versions of 2.0 and 2.1. Zeeshan Lakhani programmer | software engineer at @basho | org. member/founder of @papers_we_love | paperswelove.org twitter => @zeeshanlakhani > On Jan 27, 2016, at 3:19 PM, Weixi Yen wrote: > > Just FYI, I'm actually running 2.1.0 vers

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
Just FYI, I'm actually running 2.1.0 version of Riak KV and the default schema is showing stored=false. *2.1.0-0-g6e88b24* to be specific on ubuntu. On OSX it's the same issue as well for 2.1.1 http://s3.amazonaws.com/downloads.basho.com/riak/2.1/2.1.1/osx/10.8/riak-2.1.1-OSX-x86_64.tar.gz It se

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
Awesome, that's what I was looking for, thank you! On Wed, Jan 27, 2016 at 11:40 AM, Zeeshan Lakhani wrote: > Weixi, > > Are you using 2.0.0 or another 2.0.* version? > > If you look at > https://github.com/basho/yokozuna/blob/2.0.0/priv/default_schema.xml#L104, > sets are not stored in the defa

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Zeeshan Lakhani
Weixi, Are you using 2.0.0 or another 2.0.* version? If you look at https://github.com/basho/yokozuna/blob/2.0.0/priv/default_schema.xml#L104 , sets are not stored in the default schema, as they can get large. They’re

Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
I have a CRDT Map bucket that I'm running searches on in Yokozuna (using _yz_default index for now) However, the search results do not return any fields of the map that are CRDT sets. Is this intended behavior? Thanks in advance! ___ riak-users mailing

Re: Riak Search Pagination

2015-12-21 Thread Zeeshan Lakhani
>> >> org. member/founder of @papers_we_love | >> >> twitter => @zeeshanlakhani >> >> >> >>> On Dec 21, 2015, at 18:34, Garrido wrote: >> >>> >> >>> Hello, >> >>> >> >>> Recently we

Re: Riak Search Pagination

2015-12-21 Thread Jorge Garrido
; Zeeshan Lakhani > >> programmer | > >> software engineer at @basho | > >> org. member/founder of @papers_we_love | > >> twitter => @zeeshanlakhani > >> > >>> On Dec 21, 2015, at 18:34, Garrido > > wrote: > >>> > >>> He

Re: Riak Search Pagination

2015-12-21 Thread Zeeshan Lakhani
On Dec 21, 2015, at 18:34, Garrido wrote: >>> >>> Hello, >>> >>> Recently we migrated our Riak nodes to another network, so we backup the >>> data and then regenerate the ring, all is well, but there is a strange >>> behaviour in a ria

Re: Riak Search Pagination

2015-12-21 Thread Garrido
15, at 18:34, Garrido wrote: >> >> Hello, >> >> Recently we migrated our Riak nodes to another network, so we backup the >> data and then regenerate the ring, all is well, but there is a strange >> behaviour in a riak search, for example if we execute a query usin

Re: Riak Search Pagination

2015-12-21 Thread Zeeshan Lakhani
at 18:34, Garrido wrote: > > Hello, > > Recently we migrated our Riak nodes to another network, so we backup the data > and then regenerate the ring, all is well, but there is a strange behaviour > in a riak search, for example if we execute a query using the > riak

Re: Riak Search Pagination

2015-12-21 Thread Garrido
M > To: Bryan Hunt > Cc: riak-users@lists.basho.com > Subject: Re: Riak Search Pagination > > Solr (2.x), >> On Dec 21, 2015, at 7:08 PM, Bryan Hunt wrote: >> >> In the context of Solr (2.x), legacy (1.4), or secondary indexes (2i) >> (1.x+)? >> >> &

Re: Riak Search Pagination

2015-12-21 Thread Bryan Hunt
ation ?   Original Message   From: Garrido Sent: Tuesday, December 22, 2015 1:09 AM To: Bryan Hunt Cc: riak-users@lists.basho.com Subject: Re: Riak Search Pagination Solr (2.x), > On Dec 21, 2015, at 7:08 PM, Bryan Hunt wrote: > > In the context of Solr (2.x), legacy (1.4), or secondary ind

Re: Riak Search Pagination

2015-12-21 Thread Garrido
Solr (2.x), > On Dec 21, 2015, at 7:08 PM, Bryan Hunt wrote: > > In the context of Solr (2.x), legacy (1.4), or secondary indexes (2i) (1.x+)? > > > Original Message > From: Garrido > Sent: Monday, December 21, 2015 11:36 PM > To: riak-users@lists.basho

Re: Riak Search Pagination

2015-12-21 Thread Bryan Hunt
In the context of Solr (2.x), legacy (1.4), or secondary indexes (2i) (1.x+)?    Original Message   From: Garrido Sent: Monday, December 21, 2015 11:36 PM To: riak-users@lists.basho.com Subject: Riak Search Pagination Hello, Recently we migrated our Riak nodes to another network, so we backup

Riak Search Pagination

2015-12-21 Thread Garrido
Hello, Recently we migrated our Riak nodes to another network, so we backup the data and then regenerate the ring, all is well, but there is a strange behaviour in a riak search, for example if we execute a query using the riak_erlang_client, returns the objects in the order: A, B, C And

Solr requests and Riak Search (was: Re: LucidWorks Banana Integration)

2015-12-07 Thread Damien Krotkine
r nodes? Searching through the conversation archives, it sounds like we may be able to query the Solr nodes themselves outside of the Riak API. In a nutshell: yes! *all* Solr API is available through riak search, because the Riak API is just forwarding to solr. I recommend to *not* use any spe

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-05 Thread Hao
I actually start to wonder even using key/value (email_address as the key) to query the record(during registration), will it be still possibility that the two request is too close(client fired 2 sequential requests) and the second will still find no registration of the user because the 1st requ

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Dmitri Zagidulin
I second what Luke said. Definitely use Key/Value operations for this case (the users-by-email bucket), which is a One-to-One relationship. Don't use Search or Secondary Indexes. On Fri, Sep 4, 2015 at 9:18 AM, Luke Bakken wrote: > Use another bucket, keyed by email, with the users generated ID

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Luke Bakken
Use another bucket, keyed by email, with the users generated ID as the value: Bucket/key: buckets/users-by-email/bob.bar...@gmail.com Value: Riak generated ID There are, I am sure, race conditions and eventual consistency issues to keep in mind, but it's good to remember that you can use key/valu

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Roland Karlsson
You have secondary index and Riak Search http://docs.basho.com/riak/latest/dev/using/2i/ http://docs.basho.com/riak/latest/dev/using/search/ On 2015-09-04 12:04, Hao wrote: Take registration for example, within 1 second, how could I find out the same user already registered in the database

How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Hao
Take registration for example, within 1 second, how could I find out the same user already registered in the database? Suppose the email address is the ID but is not the key. KEY is generated guid. (I have been suggested to use the email address as the key. But it's a big change. I just want t

Re: Riak Search in bucket with write_once = true

2015-08-11 Thread Marius Cobzarenco
@zeeshanlakhani > > On Aug 10, 2015, at 4:22 PM, Marius Cobzarenco wrote: > > Hi everyone, > > Riak Search does not seem to work in a bucket whose bucket type has > write_once = true. I could not see this mentioned anywhere in the > documentation, but I was curious if it is to be

Re: Riak Search in bucket with write_once = true

2015-08-10 Thread Zeeshan Lakhani
e_love | paperswelove.org twitter => @zeeshanlakhani > On Aug 10, 2015, at 4:22 PM, Marius Cobzarenco wrote: > > Hi everyone, > > Riak Search does not seem to work in a bucket whose bucket type has > write_once = true. I could not see this mentioned anywhere in the > documentation, bu

Riak Search in bucket with write_once = true

2015-08-10 Thread Marius Cobzarenco
Hi everyone, Riak Search does not seem to work in a bucket whose bucket type has write_once = true. I could not see this mentioned anywhere in the documentation, but I was curious if it is to be expected? It seems like the objects never get indexed. My bucket type is: riak-admin bucket-type

Re: Unexpected stored value for multivalued field in riak search

2015-07-07 Thread Zeeshan Lakhani
t; : [ >"thing" > ], > "_yz_id" : "1*maps*testbucket*3 Names*2", > "_yz_rk" : “3 Names", > "_yz_rb" : "testbucket" > } > ],... > ``` > > Zees

Re: Unexpected stored value for multivalued field in riak search

2015-07-07 Thread Zeeshan Lakhani
lakhani > On Jul 1, 2015, at 11:47 AM, Wendy Liu wrote: > > Hi all, > > I'm having an issue with stored multiValued fields in Riak search not being > stored the way I would expect. > > If I use the default schema, and store the following JSON document (from the >

Unexpected stored value for multivalued field in riak search

2015-07-01 Thread Wendy Liu
Hi all, I'm having an issue with stored multiValued fields in Riak search not being stored the way I would expect. If I use the default schema, and store the following JSON document (from the documentation <http://docs.basho.com/riak/2.1.1/dev/using/search/#Extractors>) {"pe

Re: Riak Search 2.0 & Tagging

2015-06-02 Thread Antonio Teixeira
riak/latest/dev/using/search/#Querying. > > Thanks. > > Zeeshan Lakhani > programmer | > software engineer at @basho | > org. member/founder of @papers_we_love | paperswelove.org > twitter => @zeeshanlakhani > > On Apr 7, 2015, at 4:28 AM, Antonio Teixeira > wrote: > &g

Re: [Riak-Users]Why riak search only return 1 result every query, how to return all results at once

2015-05-04 Thread Zeeshan Lakhani
s"}}' >> riak-admin bucket-type activate vide >> >> >> -- Original -- >> From: "寂寂 ";<44290...@qq.com>; >> Send time: Tuesday, Apr 21, 2015 9:49 PM >> To: "riak-users"; >> Subject: [Riak-Users]W

Re: [Riak-Users]Why riak search only return 1 result every query, how to return all results at once

2015-05-04 Thread Christopher Meiklejohn
; > > -- Original -- > From: "寂寂 ";<44290...@qq.com>; > Send time: Tuesday, Apr 21, 2015 9:49 PM > To: "riak-users"; > Subject: [Riak-Users]Why riak search only return 1 result every query,how to > return all results at

Re: [Riak-Users]Why riak search only return 1 result every query, how to return all results at once

2015-04-21 Thread ????
Send time: Tuesday, Apr 21, 2015 9:49 PM To: "riak-users"; Subject: [Riak-Users]Why riak search only return 1 result every query,how to return all results at once Dear All, I have many objects with the same "tag:hot" stored in Riak cluster with two nodes, all with "

[Riak-Users]Why riak search only return 1 result every query, how to return all results at once

2015-04-21 Thread ????
Dear All, I have many objects with the same "tag:hot" stored in Riak cluster with two nodes, all with "leveldb" backend. When I try to search with the same query condition, I just got one result returned, and everytime with different result: curl -v "http://192.168.1.102:10028/search/query/vide

Re: Distributed joins and Riak search

2015-04-07 Thread Zeeshan Lakhani
Hello Karri, That link is not describing SolrCloud, and Yokozuna does *not* use SolrCloud. And, yes, those limitations do apply because we use Distributed Solr. For example, the join ticket is still open: https://issues.apache.org/jira/browse/LUCENE-3759

Distributed joins and Riak search

2015-04-07 Thread Karri Niemelä
Do same limitations apply for yokozuna and SolrCloud? (http://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations, meaning no joins …) ? ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinf

Re: Riak Search 2.0 & Tagging

2015-04-07 Thread Zeeshan Lakhani
com/riak/latest/dev/using/search/#Querying>. Thanks. Zeeshan Lakhani programmer | software engineer at @basho | org. member/founder of @papers_we_love | paperswelove.org twitter => @zeeshanlakhani > On Apr 7, 2015, at 4:28 AM, Antonio Teixeira wrote: > > Hi , > > I've

Re: Riak Search 2.0 & Tagging

2015-04-02 Thread Zeeshan Lakhani
Hello Antonio, You can insert an object and tag in the same operation, and you can query on that tag via Riak Search. Before writing the object, just apply/set the metadata accordingly. Here’s an example in the Erlang client: https://github.com/basho/riak-erlang-client/blob

Riak Search 2.0 & Tagging

2015-04-02 Thread Antonio Teixeira
Hello, I've been using Riak as my main database for a few months, now I've been experimenting with Riak Search 2.0 and for what I read in your documentation there is no way to insert a object and tag it in the same operation. Right now we have an opaque object and we query them through

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Vitaliy E
Hi Michael, It can't be the same in my case because we run with n_val = 3 on 5 nodes, that is not all keys exist on each node. And I don't know how to check Sorl cores of all nodes for consistency, sorry. What I did was to write a simple client that ran the same search request multiple times and c

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Michael Weibel
Hey Vitaly, experienced the same issue recently (see http://lists.basho.com/pipermail/riak-users_lists.basho.com/2015-March/016972.html). When you have a look at your now working solr instances admin pages, do you have everywhere the index counts the same? (i.e. the numDocs, maxDocs, deletedDocs)

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Alex De la rosa
Oh, ok. Cool to know :) thanks On Wed, Apr 1, 2015 at 10:06 AM, Vitaliy E <13vitam...@gmail.com> wrote: > Hi Alex, > > riak-admin member-status is the command > > (N - 1) nodes were showing all N nodes as part of the cluster, but "Ring > Ready: false" at the same time. One node was showing just i

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Vitaliy E
So the problem I've described may be what you are experiencing (3 replicas). Do you have any indexing errors in the logs? What is "riak-admin member-status" showing on each node? On Wed, Apr 1, 2015 at 11:02 AM, Santi Kumar wrote: > n_val is 3 for us and we have 3 nodes > On Apr 1, 2015 1:21 PM,

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Vitaliy E
Hi Alex, riak-admin member-status is the command (N - 1) nodes were showing all N nodes as part of the cluster, but "Ring Ready: false" at the same time. One node was showing just itself in "risk-admin member-status". Strangely, when shut down its status was reflected in the admin console of the

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Santi Kumar
n_val is 3 for us and we have 3 nodes On Apr 1, 2015 1:21 PM, "Vitaliy E" <13vitam...@gmail.com> wrote: > Hello everyone, > > I've just joined the list, and am a bit late to the party. Sorry about > that. Thought I would contribute an answer anyway. > > Santi, what is you n_val? > > I observed the

Re: Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Alex De la rosa
Hi Vitaliy, How did you find out a node in the cluster was not part in the cluster? any commands to check that? And then, how did you fix that? (Just curious and for future references) Thanks, Alex On Wed, Apr 1, 2015 at 9:50 AM, Vitaliy E <13vitam...@gmail.com> wrote: > Hello everyone, > > I'v

Query on Riak Search in a cluster of 3 nodes behind ELB is giving different result everytime

2015-04-01 Thread Vitaliy E
Hello everyone, I've just joined the list, and am a bit late to the party. Sorry about that. Thought I would contribute an answer anyway. Santi, what is you n_val? I observed the behavior you are describing on Riak 2.0.0 with n_val=3 in two cases: 1. One of the nodes was not part of the cluster

Re: riak search java client - sql injection

2015-03-23 Thread Jason W
ow whether solr > provides that? It would not be a easy task to do a 100% secure santize > function, the above query is really just a simple use case. > > Jason > > On Mon, Mar 23, 2015 at 1:49 PM, Christopher Meiklejohn < > cmeiklej...@basho.com> wrote: > >> >&g

Re: riak search java client - sql injection

2015-03-23 Thread Alexander Sicular
>> > On Mar 22, 2015, at 7:03 PM, Jason W wrote: >> > >> > Hello, >> > >> > I try to use the riak search java client, specifically the Search.Builder >> > class, like the following >> > >> > Search search = new Search.Build

Re: riak search java client - sql injection

2015-03-23 Thread Jason W
, Mar 23, 2015 at 1:49 PM, Christopher Meiklejohn < cmeiklej...@basho.com> wrote: > > > On Mar 22, 2015, at 7:03 PM, Jason W wrote: > > > > Hello, > > > > I try to use the riak search java client, specifically the > Search.Builder class, like the following

Re: riak search java client - sql injection

2015-03-23 Thread Christopher Meiklejohn
> On Mar 22, 2015, at 7:03 PM, Jason W wrote: > > Hello, > > I try to use the riak search java client, specifically the Search.Builder > class, like the following > > Search search = new Search.Builder("test", "_yz_rb:accounts AND email:" + &

Re: Trouble with Riak Search JSON Extractor

2015-03-23 Thread Matt Brooks
Thank you for the help. And yes, I'll keep that in mind for the future! Matt. On Mon, Mar 23, 2015 at 12:21 PM Zeeshan Lakhani wrote: > And Matt, please choose one platform to discuss the matter, preferably > here :). It makes things easier. > > Thanks. > > Zeeshan Lakhani > programmer | > soft

Re: Trouble with Riak Search JSON Extractor

2015-03-23 Thread Zeeshan Lakhani
And Matt, please choose one platform to discuss the matter, preferably here :). It makes things easier. Thanks. Zeeshan Lakhani programmer | software engineer at @basho | org. member/founder of @papers_we_love | paperswelove.org twitter => @zeeshanlakhani > On Mar 23, 2015, at 12:14 PM, Zees

Re: Trouble with Riak Search JSON Extractor

2015-03-23 Thread Zeeshan Lakhani
t; twitter => @zeeshanlakhani >> >> >>> On Mar 22, 2015, at 4:13 PM, Matt Brooks >> <mailto:mtbrook...@gmail.com>> wrote: >>> >> >>> Hello, >>> >>> I have a quick question about a search schema that would index an arr

Re: Trouble with Riak Search JSON Extractor

2015-03-23 Thread Matt Brooks
t;> >>>> On Mar 22, 2015, at 4:13 PM, Matt Brooks wrote: >>>> >>>> Hello, >>>> >>>> I have a quick question about a search schema that would index an array >>>>

  1   2   3   4   5   6   7   8   >