Skip to content

Conversation

@JJ-Pineda
Copy link
Contributor

Resolves #134 by adding a new CLI endpoint (i.e. basic-search-count). This works the same way as the basic-search endpoint except that it only returns the count of the query.

For example, to get the total number of compounds, I just did the following:

cargo run -- basic-search-count -i my/index/path -q "NumAtoms: [0 TO 1000000]"

@JJ-Pineda JJ-Pineda marked this pull request as ready for review January 10, 2025 21:08
@JJ-Pineda JJ-Pineda merged commit 38a0127 into main Jan 10, 2025
2 checks passed
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.

We should add an endpoint for counting documents

2 participants