Possible bug in pyres search interface : different results from XGET and search through pyres

(Abhishek Pratap) #1

Hi Guys

I am sort of confused why I am getting two different search results when I
query against same index using webservice and ES python's API pyres.

from webservice
curl -XGET
}}}} # only copying the #hits

from pyres:
q = TermQuery("tax_name","Myxococcus")
results = conn.search(query=q)
for r in results:
print r
no hits :

Am I missing something ?



(system) #2