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 -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -