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
Post a Comment