How to use Search.Options in Riak Java client for Solr faceting

2015-04-21 Thread Santi Kumar
Hi, I'm need to use faceting for some of the data in Riak, I know we can use it with Search.Options, but I couldn't find a decent way to use that. I was looking at any test cases, but couldn't find any. If some body used it, can you please post a gist or sample here. I just need to use enable face

Re: Deserialising nested Json into java object through Java -clinet

2015-04-07 Thread Santi Kumar
ble to help with that. Another > option would be to use a Solr client and query Solr directly rather > than going through Riak. > > Thanks, > Brian Roach > > > > > On Tue, Apr 7, 2015 at 8:32 AM, Santi Kumar wrote: > > Hi > > We have a Composite pojo wh

Deserialising nested Json into java object through Java -clinet

2015-04-07 Thread Santi Kumar
Hi We have a Composite pojo which we are indexing into Riak search. If I see the structure of the object in solr web console, it shows as nested json. Through java client when we query it returns the Map and having difficulties in converting it into java object. Is there a way in riak-java client t

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-03-09 Thread Santi Kumar
Hi Zeeshan, We have typically seen this issue when we have lots of indexes created in that instance. On a t2.medium machine we already have around 512+ indexes created in data folder. In such case, if we trying to create any new indexes it's taking time. Association of Index to Bucket is failing e

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

2015-03-05 Thread Santi Kumar
.org > twitter => @zeeshanlakhani > > On Mar 4, 2015, at 9:06 PM, Santi Kumar wrote: > > But in our case we didnt have spaces in keys. All our keys are UUID's so I > wouldn't suspect that. AAE I haven't verified . > > On Thu, Mar 5, 2015 at 7:16 AM, Joh

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

2015-03-05 Thread Santi Kumar
engineer at @basho | > org. member/founder of @papers_we_love | paperswelove.org > twitter => @zeeshanlakhani > > On Mar 4, 2015, at 9:06 PM, Santi Kumar wrote: > > But in our case we didnt have spaces in keys. All our keys are UUID's so I > wouldn't suspect that. AA

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

2015-03-04 Thread Santi Kumar
x27;spaces-in-keys' issue... Once we cleaned those up, things were > great again. > > On Wed, Mar 4, 2015 at 8:36 PM, Santi Kumar wrote: > >> Raik 2.0.0 >> On Mar 5, 2015 12:31 AM, "Christopher Meiklejohn" >> wrote: >> >>> >>> &g

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

2015-03-04 Thread Santi Kumar
Raik 2.0.0 On Mar 5, 2015 12:31 AM, "Christopher Meiklejohn" wrote: > > > On Mar 4, 2015, at 1:15 PM, Santi Kumar wrote: > > > > Hi, > > We are running into a strange issue with Riak Search. Our setup is with > 3 nodes of Riak (with search enabled) in

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

2015-03-04 Thread Santi Kumar
Hi, We are running into a strange issue with Riak Search. Our setup is with 3 nodes of Riak (with search enabled) in 3 different ec2 instances behind ELB. App server talks to the cluster through ELB. We are querying for list of objects through *:* query instead of list bucket keys and every time t

Re: @RiakIndex annotated field is not stored as part of value

2015-01-27 Thread Santi Kumar
f the object state. I have modified accordingly. Is there any restrictions on the naming of the 2i index? Thanks Santi On Mon, Jan 26, 2015 at 10:29 PM, Christopher Meiklejohn < cmeiklej...@basho.com> wrote: > > On Jan 26, 2015, at 5:48 PM, Santi Kumar wrote: > > Yes. I'm

Re: @RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Santi Kumar
odify-write, the tag value exist all the time. Thanks Santi On Jan 26, 2015 7:46 PM, "Christopher Meiklejohn" wrote: > > > On Jan 26, 2015, at 09:45, Santi Kumar wrote: > > > > Hi > > I'm defining a field of an object as 2i index with @RiakIndex. While

@RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Santi Kumar
Hi I'm defining a field of an object as 2i index with @RiakIndex. While creating the object I initialised both the values and stored the object against the key of that object and stored against the index. In a separate thread another field of the object is updated where I dont have handle to the 2

Re: Multiget java client performance

2015-01-23 Thread Santi Kumar
ve only got so many threads and you prob don't want > 1000 sockets being created at once. Best suggestion is to adjust up > the number of simultaneous inflight and measure it. > > Thanks, > - Roach > > > > On Mon, Jan 19, 2015 at 6:43 PM, Santi Kumar wrote: > > Brain

Having trouble in connecting to Riak in EC2 with another Ec2 instance

2015-01-22 Thread Santi Kumar
I have installed Riak in ec2 and kept it wide open for inbound connections. >From the source instance, We have configured outbound ports 8087 an 8098 to the public IP of Riak Instance. Any other ports are required? I'm using python and curl clients but still not able to connect on both the ports

Re: Multiget java client performance

2015-01-20 Thread Santi Kumar
threads and you prob don't want > 1000 sockets being created at once. Best suggestion is to adjust up > the number of simultaneous inflight and measure it. > > Thanks, > - Roach > > > > On Mon, Jan 19, 2015 at 6:43 PM, Santi Kumar wrote: > > Brain > > I"m u

Re: Multiget java client performance

2015-01-19 Thread Santi Kumar
Brain I"m using Riak Client 2.0.0 and Riak 2.0.2. On Tue, Jan 20, 2015 at 1:54 AM, Brian Roach wrote: > Santi - > > Which version of the Java client? > > Thanks, > - Roach > > On Mon, Jan 19, 2015 at 7:36 AM, Santi Kumar wrote: > > Hi > > > >

Multiget java client performance

2015-01-19 Thread Santi Kumar
Hi We are using java client for accessing Riak KV/Search. For some use cases, we go to search, get the keys and access the data from Riak. There might be a case where we might get 1000's of keys. So want to understand what is the impact of that on multiget and how does it scale. We were using RD

Re: Raik 2.0.4 - Solr version

2015-01-13 Thread Santi Kumar
Sean, As at any given point of time, there could be multiple versions of a given entry in Riak, how does riak search manages that? Which version of the entry is indexed with solr? Thanks Santi On Tue, Jan 13, 2015 at 9:51 PM, Sean Cribbs wrote: > The version of Solr bundled with Riak 2.0.4 is 4

Re: Riak Search having issues with custom schema

2015-01-09 Thread Santi Kumar
your Solr schema. Also, please check to ensure that your schema has > all required _yz_* fields. > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Fri, Jan 9, 2015 at 9:38 AM, Santi Kumar wrote: > > Sorry Luke, I pasted the content in a file and ran the comma

Re: Riak Search having issues with custom schema

2015-01-09 Thread Santi Kumar
kken wrote: > Please run your JSON document through the extractor to ensure that > it's being parsed correctly: > > http://docs.basho.com/riak/latest/dev/advanced/search/#Extractors > > curl -XPUT http://localhost:8098/search/extract \ > -H 'Content-Type: applicatio

Re: Riak Search having issues with custom schema

2015-01-09 Thread Santi Kumar
t;:null,"enable_save_as":false,"disable_watermark":true,"disable_spotlight":true,"enable_screen_capture":false,"disable_onetime_use":true} On Fri, Jan 9, 2015 at 10:16 PM, Luke Bakken wrote: > Can you retrieve the object using "curl" a

Re: Riak Search having issues with custom schema

2015-01-09 Thread Santi Kumar
} On Jan 9, 2015 9:42 PM, "Luke Bakken" wrote: > How are you storing these objects? What "Content-Type" is being used? > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Fri, Jan 9, 2015 at 7:04 AM, Santi Kumar wrote: > > Hi, > > We

Riak Search having issues with custom schema

2015-01-09 Thread Santi Kumar
Hi, We are having issues with Riak Search custom schema. Application has multiple POJO's and we are using Java client to write into RIakKV. Configured custom solr schema with indexed fields from all POJOs. After adding the "Catch-All" field, solr is not indexing any fields from any of the Pojo. No

Re: Objects visibility in Riak Serch immediately after storage

2014-12-30 Thread Santi Kumar
Search query. > > -- > Luke Bakken > Engineer / CSE > lbak...@basho.com > > > On Tue, Dec 30, 2014 at 4:25 AM, Santi Kumar wrote: > > HI I'm having some consistency issues with Riak Search. > > > > I have configured Riak Search and enabled search for a spec

Objects visibility in Riak Serch immediately after storage

2014-12-30 Thread Santi Kumar
HI I'm having some consistency issues with Riak Search. I have configured Riak Search and enabled search for a specific bucket. In one of the service layer methods, I"m storing the object into the Riak and doing some more updates and immediately trying to search on a attribute of the object. It'

What is RiakResponseException "unknown message code 56"

2014-12-19 Thread Santi Kumar
HI While creating a index and bucket in Java client, I was getting this error. I remember getting the same earlier but I didn't remember. Can anyone throw some light on that. When do we get this error and how to resolve this? Thanks Santi ___ riak-users

Re: RiakSearch with java-client

2014-12-17 Thread Santi Kumar
/advanced/search-schema/ > Creating an index via HTTP: > http://docs.basho.com/riak/latest/dev/using/search/#Simple-Setup > -- > Luke Bakken > Engineer / CSE > lbak...@basho.com > > > On Wed, Dec 17, 2014 at 8:17 AM, Santi Kumar wrote: > > Hi Luke, > > Yes I could

Re: RiakSearch with java-client

2014-12-17 Thread Santi Kumar
cated in > /var/log/riak or dev*/log (if you're using a devrel). In particular, > look in the solr.log file. > -- > Luke Bakken > Engineer / CSE > lbak...@basho.com > > > On Mon, Dec 15, 2014 at 2:08 AM, Santi Kumar wrote: > > Hi > > I'm tying to us

RiakSearch with java-client

2014-12-15 Thread Santi Kumar
Hi I'm tying to use Riak Search 2.0 with java client. Couldn't find any good documentation around that so I'm trying on my own. I've created my own custom schema and want to setup this to my index. While executing the StoreSchema command, was getting below error with some message bits. com.basho.r

Data Modelling

2014-11-25 Thread Santi Kumar
I'm experimenting with Riak and trying out with some of our use cases. Our basic requirement is to have better response times with low latency and hence moving away from costly joins in RDBMS. While modelling, for some of the mappings I can model them as muitiple key-value pairs or use combination

Re: Is it possible to start with One node and increase later

2014-11-14 Thread Santi Kumar
al but requests for objects may return > not_found until read repair or AAE fixes the replicas. > -- > Luke Bakken > Engineer / CSE > lbak...@basho.com > > > On Thu, Nov 13, 2014 at 11:49 AM, Santi Kumar wrote: > > Hi, > > I'm new to the Riak. I know the

Is it possible to start with One node and increase later

2014-11-14 Thread Santi Kumar
Hi, I'm new to the Riak. I know the default value of n_val is 2, but is it possible to start with one node, no replication initially and then start adding the nodes and increase the replication factor. What happens if I run only a single node without changing the default values? Does it cause any