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
128.55.54.143:9201/ncbi_taxa_names/taxa_names/_search?q=tax_name:Myxococcus
{"took":5,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":15,"
}}}} # only copying the #hits
from pyres:
conn.open_index("ncbi_taxa_names")
q = TermQuery("tax_name","Myxococcus")
results = conn.search(query=q)
for r in results:
print r
.....:
no hits :
Am I missing something ?
Thanks!
-Abhi
--