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

php - How to display all orders for a single product showing the most recent first? Woocommerce -

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

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -