Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup using secondary indexes? #51

Closed
terkhorn opened this issue Nov 13, 2012 · 6 comments
Closed

Lookup using secondary indexes? #51

terkhorn opened this issue Nov 13, 2012 · 6 comments
Milestone

Comments

@terkhorn
Copy link

Hi,

I may have missed something, but I'm wondering if there's support for object lookup using secondary indexes, as documented at http://docs.basho.com/riak/latest/tutorials/querying/Secondary-Indexes/, e.g.

curl localhost:8098/buckets/users/index/twitter_bin/jsmith123

Thanks,
Felix

@peschkaj
Copy link
Contributor

Howdy Felix,

Which version of CorrugatedIron are you working with? Did you pull this
from NuGet or have you built from the dev branch on github? My plan is to
pull down a copy locally, verify, and write a quick sample for you if need
be.

I know that this is in the dev tree right now, but I can't recall if it
made it into a release.


Jeremiah Peschka
Founder, Brent Ozar Unlimited

On Tue, Nov 13, 2012 at 6:57 AM, Felix Terkhorn notifications@github.comwrote:

Hi,

I may have missed something, but I'm wondering if there's support for
object lookup using secondary indexes, as documented at
http://docs.basho.com/riak/latest/tutorials/querying/Secondary-Indexes/,
e.g.

curl localhost:8098/buckets/users/index/twitter_bin/jsmith123

Thanks,
Felix


Reply to this email directly or view it on GitHubhttps://github.com//issues/51.

@ghost ghost assigned OJ Nov 13, 2012
@OJ
Copy link
Contributor

OJ commented Nov 13, 2012

Hello Felix,

Thanks for raising the issue! As JP said, it's definitely in development. In Riak 1.2 a new PB interface appeared which lets you search for objects based on a 2i query. You can also do this through map/reduce.

My development branch contains a bit of "in progress" code for this stuff, which includes a fluent interface for doing this kind of search. It's nearly finished, but isn't quite there yet. The fluent API has changed a bit since that last push.

I'm aiming to have this done with the v1.0 release of CI, which I'm trying to get done as quite as possible.

Is this currently holding you back?

I promise I'll get cracking on it and get it out to you as soon as possible. I just don't want to rush the code and end up releasing something that isn't going to do a good job of solving the problem.

Thanks again!
OJ

@terkhorn
Copy link
Author

Hi Jeremiah and OJ,

Thanks very much for the fast response.

I'm working from a copy of CorrugatedIron which I pulled down using NuGet.
(As a separate question, should I build directly from the source in order
to get a more up-to-date version?)

It's great to hear that there will be additional support for leveraging 2i
in the next release! This is not blocking me right now, so please take your
time to apply the necessary spit and polish.

So far, CorrugatedIron has proved easy to use. Thanks for your hard work
and dedication!

Cheers
Felix
On Nov 13, 2012 4:00 PM, "OJ Reeves" notifications@github.com wrote:

Hello Felix,

Thanks for raising the issue! As JP said, it's definitely in development.
In Riak 1.2 a new PB interface appeared which lets you search for objects
based on a 2i query. You can also do this through map/reduce.

My development branch contains a bit of "in progress" code for this stuff,
which includes a fluent interface for doing this kind of search. It's
nearly finished, but isn't quite there yet. The fluent API has changed a
bit since that last push.

I'm aiming to have this done with the v1.0 release of CI, which I'm trying
to get done as quite as possible.

Is this currently holding you back?

I promise I'll get cracking on it and get it out to you as soon as
possible. I just don't want to rush the code and end up releasing something
that isn't going to do a good job of solving the problem.

Thanks again!
OJ


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-10343412.

@peschkaj
Copy link
Contributor

I'm glad to hear CI is working well for you. I'd only pull from our
development branch if you're feeling particularly masochistic/adventurous.
We try to keep the main repository stable, but you never know when one of
us (me) is going to forget how their git client works on Windows and
accidentally push half finished code up to Github.

I know it's some extra work, but as you run into rough spots or places
where documentation/examples would help out, I'd be grateful if you could
add an Issue in github so I can get things documented a bit better. When
you work on a database client, it's sometimes hard to think about how a
person who isn't in the internals of the thing is going to approach solving
problems with the client instead of inside the client.


Jeremiah Peschka
Founder, Brent Ozar Unlimited

On Tue, Nov 13, 2012 at 4:57 PM, Felix Terkhorn notifications@github.comwrote:

Hi Jeremiah and OJ,

Thanks very much for the fast response.

I'm working from a copy of CorrugatedIron which I pulled down using NuGet.
(As a separate question, should I build directly from the source in order
to get a more up-to-date version?)

It's great to hear that there will be additional support for leveraging 2i
in the next release! This is not blocking me right now, so please take
your
time to apply the necessary spit and polish.

So far, CorrugatedIron has proved easy to use. Thanks for your hard work
and dedication!

Cheers
Felix
On Nov 13, 2012 4:00 PM, "OJ Reeves" notifications@github.com wrote:

Hello Felix,

Thanks for raising the issue! As JP said, it's definitely in
development.
In Riak 1.2 a new PB interface appeared which lets you search for
objects
based on a 2i query. You can also do this through map/reduce.

My development branch contains a bit of "in progress" code for this
stuff,
which includes a fluent interface for doing this kind of search. It's
nearly finished, but isn't quite there yet. The fluent API has changed a
bit since that last push.

I'm aiming to have this done with the v1.0 release of CI, which I'm
trying
to get done as quite as possible.

Is this currently holding you back?

I promise I'll get cracking on it and get it out to you as soon as
possible. I just don't want to rush the code and end up releasing
something
that isn't going to do a good job of solving the problem.

Thanks again!
OJ


Reply to this email directly or view it on GitHub<
https://github.com/DistributedNonsense/CorrugatedIron/issues/51#issuecomment-10343412>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-10350965.

@terkhorn
Copy link
Author

Hi Jeremiah,

Sounds good -- I'm already masochistic enough so I'll stick with the main path here in CI. :-D

Will definitely add issues regarding documentation. In fact, I can think of one already...

Given that you two have commented on the coming availability of 2i support, I will close this thread. If you prefer to close user-issued threads yourself, let me know for future reference -- not trying to step on your toes in terms of moderation.

-f

@peschkaj
Copy link
Contributor

Keep on stepping on toes. We need all the help we can get.


Jeremiah Peschka
Founder, Brent Ozar Unlimited

On Wed, Nov 14, 2012 at 6:49 AM, Felix Terkhorn notifications@github.comwrote:

Hi Jeremiah,

Sounds good -- I'm already masochistic enough so I'll stick with the main
path here in CI. :-D

Will definitely add issues regarding documentation. In fact, I can think
of one already...

Given that you two have commented on the coming availability of 2i
support, I will close this thread. If you prefer to close user-issued
threads yourself, let me know for future reference -- not trying to step on
your toes in terms of moderation.

-f


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-10368477.

@terkhorn terkhorn unassigned OJ Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants