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 - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -