I get back "too many" hits
KnowledgeGarden opened this issue · comments
I create several documents which look something like these:
{'locator':'foo', 'instanceOf':'bar'}
{'locator':'bla': 'instanceOf':'bah'}
I've used several kinds of query strings, one of which looks like this:
{"term":{"instanceOf":"bar"}}
another like this:
{"fields":["instanceOf"],"term":{"instanceOf":"bar"}}
another like this:
{"fields":["instanceOf"],"query":{"term":{"instanceOf":"bar"}}}
All queries return all nodes, and don't focus on the lone node requested.
What am I missing?
This is an interesting issue... which version of ElasticSearch are you running? I'll test locally and try to repro.
Good thought!
I have yet to modify all my code for the 1+ branch; this is 0.90.8
I am well beyond that one, dealing with another, which I'll open now.
Closing based on updated information in comment thread.