Skip to content
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

Don't let index become out of date #62

Open
makew0rld opened this issue Aug 1, 2024 · 0 comments
Open

Don't let index become out of date #62

makew0rld opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@makew0rld
Copy link
Contributor

makew0rld commented Aug 1, 2024

Some fields like asset_origin_id are auto-indexed upon ingest by the webhook. These fields should be auto-indexed later on I think, for example if a CLI user updates the asset_origin_id but doesn't set --index. This is disobeying the user but is probably better than having an out-of-date index. Right?

Currently the auto-index list is small so this is not a big issue:

var indexedStringKeys = []string{"file_name", "asset_origin_id", "project_id"}

@makew0rld makew0rld added enhancement New feature or request question Further information is requested labels Aug 1, 2024
@makew0rld makew0rld self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant