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

0.90.0.RC1 Percolator Query, NPE #2806

Closed
bly2k opened this issue Mar 21, 2013 · 4 comments
Closed

0.90.0.RC1 Percolator Query, NPE #2806

bly2k opened this issue Mar 21, 2013 · 4 comments
Assignees

Comments

@bly2k
Copy link
Contributor

bly2k commented Mar 21, 2013

I think this is a bug in the latest build but I'm not sure how to open a ticket. This is using 0.90.0.RC1. We've been using ES from 0.19.x through 0.20.5 and this worked fine up to this point. Looks like it is broken in the newest build.

  1. POST http://localhost:9200/_percolator/foo/1
    {
    "source": "foo",
    "query": {
    "term": {
    "foo": "bar"
    }
    }
    }

  2. PUT http://localhost:9200/foo

  3. POST http://localhost:9200/foo/doc/_percolate
    {
    "query": {
    "term": {
    "source": "foo"
    }
    },
    "doc": {
    "foo": "bar"
    }
    }

ES 0.90.0.RC1 returns:

{
error: NullPointerException[null]
status: 500
}

Thanks!

@s1monw
Copy link
Contributor

s1monw commented Mar 21, 2013

this is a bug in UID, thanks for reporting this. I will have a fix soon.

@ghost ghost assigned s1monw Mar 21, 2013
@bly2k
Copy link
Contributor Author

bly2k commented Mar 21, 2013

Simon thanks! I'm seeing that there is now some pooling implemented with the in-memory percolator index. We use the percolator extensively so I would be interested to test that after your fix to check also if the newly added pooling code improves (or degrades) performance while not breaking anything else. I hope. Good stuff! :)

@s1monw s1monw closed this as completed in 064d272 Mar 21, 2013
@s1monw
Copy link
Contributor

s1monw commented Mar 21, 2013

this should take you further! :)

@bly2k
Copy link
Contributor Author

bly2k commented Mar 25, 2013

Simon, got the patch and this seems to be fixed. I did more testing and found another bug. I just opened another bug titled "0.90.0.RC1 Percolator, Not Matching Properly on Custom Analyzer". Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants