python 3.x - Py Elisticsearch query slow on laptop -


i running simple python elasticsearch query in script evaluates instantly on workstation, has ~3 second lag on laptop. i'm thinking memory usage thing i'm not sure best way adjust that.

def searchdata(query):      sdat = es.search(index="roasts", doc_type="roast", q=query) 

the indexed json files small. thinking instant. help!


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -