0.14 OSX riaksearch in inconsistent state

2011-02-18 Thread Gary William Flake
I just ran a script on a my dev machine to remove everything in the local riaksearch instance. In the process, I found something very strange. Specifically, there exists objects in my instance that cannot be deleted (I get an error whenever I try) and that always appear with their data intact. H

Re: 0.14 OSX riaksearch in inconsistent state

2011-02-18 Thread Gary William Flake
tps://issues.basho.com/show_bug.cgi?id=970 > > Francisco > > 2011/2/18 Gary William Flake : >> I just ran a script on a my dev machine to remove everything in the >> local riaksearch instance.  In the process, I found something very >> strange.  Specifically, there exists objects in my i

0.14 and search schema

2011-02-20 Thread Gary William Flake
I've been pulling my hair out over new behaviors with search-schema, and I am wondering if I've been simply doing it wrong. Here's the issue: search-schema seem extremely brittle compared to the rest of the system in that one misstep requires that you effectively blow away your whole DB and try ag

riaksearch sort, start, and rows

2011-02-27 Thread Gary William Flake
While coding up a front-end to paginate over a set of search results, I think I found a bug whereby the result set is incorrectly segmented as a function of the sort key, the start index, and the row count. In the output that follows, I am using the field ctime for sort order, and the value of del

Re: riaksearch sort, start, and rows

2011-02-27 Thread Gary William Flake
scheduled to be fixed? Thanks, -- GWF On Sun, Feb 27, 2011 at 10:17 PM, Gary William Flake wrote: > While coding up a front-end to paginate over a set of search results, I > think I found a bug whereby the result set is incorrectly segmented as a > function of the sort key, the start

Re: riaksearch sort, start, and rows

2011-02-28 Thread Gary William Flake
bug.cgi?id=867) We have not yet scheduled > the fix for this. > > Best, > Rusty > > > On Mon, Feb 28, 2011 at 1:25 AM, Gary William Flake wrote: > >> Ack. I know what's happening with this. Riaksearch is sorting by >> relevance, segmenting the results acco

Re: crash after single insert

2011-05-06 Thread Gary William Flake
Now trying 500 lines. -- GWF tail-sasl-error.log Description: Binary data On May 6, 2011, at 2:05 PM, Gary William Flake wrote: > Resending with only the last 1000 lines from the log file, so that the list > server doesn't reject it. > > Any insights would be gr

Re: crash after single insert

2011-05-07 Thread Gary William Flake
a), and see if there is > another process with the PID. > > Cheers Nico > > > On 06.05.2011 23:08, Gary William Flake wrote: >> Now trying 500 lines. >> -- GWF >> >> >> >> >> >> >> >> On May 6, 2011, at 2:

forked riaksearch for better perf

2011-05-13 Thread Gary William Flake
Our team has a fork of the riaksearch source that we believe adds a very simple but highly desirable improvement. We've reached out to Basho directly with the idea but, as they say, code talks. The fork can be found at https://github.com/gpascale/riak_search and we will be issuing a pull reque

newbie questions: sorted keys, ADT primitives, and link manipulation

2011-01-15 Thread Gary William Flake
I am building a backend for a web service and Riak looks to be a strong fit for my needs at this point. However, there is one really simple requirement that I can't figure out how to implement on Riak with any sort of efficiency. To simplify the question, suppose that I want a twitter-like servic

riak search and numeric fields

2011-01-16 Thread Gary William Flake
Per the advice from my earlier question (about retrieving records in a particular sort order), I've been playing with Riak Search in an attempt to use a range query over a numeric field to get the sort order that I want (or at least the right range). For the life of me, I can't get Riak Search

date fields for riak search?

2011-01-17 Thread Gary William Flake
I can find no documentation anywhere for the desired format for date fields in riak search. I've looked at Lucene documentation thinking that it should be the same. From there I can see that Lucene made a significant transition at some point with respect to dates, but the documentation http:/

Re: date fields for riak search?

2011-01-17 Thread Gary William Flake
ot;} ]} 2. Store dates as MMDDHHMMSS. Don't even think about adding '-' or ':' or ' ' anywhere in there, as it will split the tokens. 3. Then, query ranges in the same format as above will do what you think that should. -- GWF On Jan 17,

possible bug?

2011-01-17 Thread Gary William Flake
I am sorry if this is not the appropriate place to send little observations like this. I am just diving into Riak for the first time, and I think it is a remarkable system, if not a bit frustrating as well. Anyhow, here is the issue... I can create an item in a bucket which has links according

tools for debugging clients?

2011-01-17 Thread Gary William Flake
I am using the python client api and in some of my runs python was crashing. My gut reaction was that it was probably some untested corner case (I am doing millions of insertions) or that the python client was buggy and that I would eventually just switch over to another client need be. But I

Re: Search Indexing only specific content-types?

2011-01-21 Thread Gary William Flake
I am new to all of this myself, so caveat emptor. However, I think know of at least two ways to do this. The first is to use two different buckets, but with the same key universe. One bucket is for the portion of the records that you want indexed, and the other is for everything else. Depe

Re: Getting all the Keys

2011-01-22 Thread Gary William Flake
This is a really big pain point for me as well and -- at the risk of prematurely being overly critical of Riak's overall design -- I think it points to a major flaw of Riak in its current state. Let me explain Riak is bad at enumerating keys. We know that. I am happy to manage a list of keys

riak search from within node.js

2011-02-09 Thread Gary William Flake
I am using riak-js for connecting with riak from within node. However, riak-js does not support any search APIs. I wrote a small example in node.js to show how to hit the SOLR interface, which I've shared with the developer of riak-js with the hope that he runs with it. Nonetheless, some of you m

Re: riak search from within node.js

2011-02-09 Thread Gary William Flake
ve to hear some feedback. Docs updated at http://riakjs.org. > > For anyone interested in riak-js we now have a Twitter account: @riakjs. > > Francisco > > > 2011/2/9 Gary William Flake : >> I am using riak-js for connecting with riak from within node. >> Ho