Skip to content

Conversation

@toloco
Copy link
Collaborator

@toloco toloco commented Sep 23, 2022

No description provided.

@toloco toloco marked this pull request as ready for review September 23, 2022 15:44
WORKDIR /app

COPY ./src/requeriments.txt .
RUN pip install -r requeriments.txt
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just switch to pipenv?

BASE_URL = os.getenv("BASE_URL", "http://0.0.0.0:9200")
INDEX_NAME = os.getenv("INDEX_NAME", "test")
DATA_PATH = os.getenv("DATA_PATH", "/data/")
N_PROCS = int(os.getenv("N_PROCS", 8))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you default to cpu_count() from mp?



def experiment(count: int):
requests.delete(f"{BASE_URL}/{INDEX_NAME}")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add an swtcih to select between calling ElasticSearch and nxsearch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants