Skip to content

feat: add DataIndex methods #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SantanaTiago
Copy link
Collaborator

This PR introduces two new methods to DataIndex class:

  • list_items(); it allows user to list/search documents in a collection (also available in CLI)
  • get_item_urls(); it allows user to get urls of a document to download, namely PDF, MD, and JSON

Changes:

  • ElasticProjectDataCollectionSource location changed to elastic file to avoid circular imports

Copy link

mergify bot commented Mar 20, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

Signed-off-by: Tiago Santana <[email protected]>
@SantanaTiago SantanaTiago requested a review from kdinkla March 31, 2025 15:17
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