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

Question about Index Creation on Embedding and Column #23

Open
jarredSafegraph opened this issue Oct 24, 2024 · 0 comments
Open

Question about Index Creation on Embedding and Column #23

jarredSafegraph opened this issue Oct 24, 2024 · 0 comments

Comments

@jarredSafegraph
Copy link

Howdy, I am curious if you might elaborate on how indexes are created and queried when using an embedding and another column like in the below example. At the moment, I believe, with pgvector, there is no way to create an index on an embedding and column.

This thread in pgvector notes that it the current approach may be using a partial index but with many values in a column, that is not very feasible.

CREATE INDEX my_remote_index ON products USING pinecone (embedding, price) with (host = 'my-pinecone-index.pinecone.io');
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

1 participant