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

Allow arbitrary index types #2770

Closed
mingfang opened this issue May 10, 2024 · 1 comment
Closed

Allow arbitrary index types #2770

mingfang opened this issue May 10, 2024 · 1 comment

Comments

@mingfang
Copy link

I'm using ParadeDB's bm25(https://github.com/paradedb/paradedb)index for search, and am getting this error

Error: invalid index storage parameter:  min_gram: 4

It looks like the error is coming from here

return nil, fmt.Errorf("invalid index storage parameter: %s", p)

What is the reason to limit the index types?
Can we at least have an option to bypass this check?

@a8m
Copy link
Member

a8m commented May 10, 2024

Thanks for reporting this, @mingfang.

What is the reason to limit the index types?
Can we at least have an option to bypass this check?

There's no option to bypass this check atm. We currently parse the specific Postgres format we support, as it's used in other stages like diffing, planning and when written as an HCL.

I'm not sure what are the gaps between ParadeDB and our current Postgres driver, but these cases we'll be handled when we add support to it - I don't have ETA for this.

Closing, as this is duplicate of #1472. I'll update it when the issue is resolved.

@a8m a8m closed this as completed May 10, 2024
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

No branches or pull requests

2 participants