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

GetMany bug #860

Closed
crassirostris opened this issue Aug 8, 2014 · 1 comment
Closed

GetMany bug #860

crassirostris opened this issue Aug 8, 2014 · 1 comment

Comments

@crassirostris
Copy link

http://pastebin.com/3GJ4PxeL

First result
Second result
Found document with id 123? Yes
{ Field1: 'Value1', Field2: 'Value2' }

GetMany creates following request

{
  "docs": [
    {
      "_id": "..."
    },
    ...
  ]
}

It doesn't use information about neither index nor type
At the same time MultiGet(s => s.GetMany(...)) despite being the same thing shortcutted (if I understand it correctly) produces required request

Mpdreamz added a commit that referenced this issue Aug 8, 2014
Fix #860 GetMany() nullifies _index and _type
@Mpdreamz
Copy link
Member

Mpdreamz commented Aug 8, 2014

Thats a pretty major bug, thanks for reporting @crassirostris we'll release a 1.0.2 on monday to get this fix out there.

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

2 participants