parse-community / parse-community/parse-server
Vector field type and similarity search
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 21.4k
- Forks
- 4.8k
- Avg merge
- 7h 45m
- Merged PRs (30d)
- 11
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
There is no way to store embeddings or run a similarity search through Parse Server. If you are building anything AI related you have to bypass Parse and query the database directly, which skips ACLs, CLPs, triggers, etc.
Feature / Enhancement Description
A Vector schema field type and a query constraint like $nearVector that returns nearest neighbours sorted by similarity. Implemented per storage adapter; both backends have native support (MongoDB Atlas Vector Search, pgvector on Postgres), so this fits the same pattern we already use for full text search ($text).
Example Use Case
- Add a
Vectorfield to a class, e.g.embeddingwith a dimension - Save objects with embeddings in that field
- Query with
$nearVectorand get results ranked by similarity, with normal query constraints and ACLs still applying
Alternatives / Workarounds
- Query the database directly (bypasses the Parse security layer)
- Run a separate vector database next to Parse and keep it in sync manually
3rd Party References
- MongoDB Atlas Vector Search
- pgvector (used by Supabase)
- Firestore vector search
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No specific files or tests are named. Start by examining the existing full-text $text search pattern and how storage adapters expose it, then review MongoDB Atlas Vector Search and pgvector constraints; done means vector fields and similarity queries work across both backends while preserving normal constraints and Parse security.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, nodejs, postgres
- Domain
- api, backend, databases, search, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100