Title: Add SQLite Hybrid Search and BM25 for local vector search · Issue #5073 · feast-dev/feast · GitHub
Open Graph Title: Add SQLite Hybrid Search and BM25 for local vector search · Issue #5073 · feast-dev/feast
X Title: Add SQLite Hybrid Search and BM25 for local vector search · Issue #5073 · feast-dev/feast
Description: Is your feature request related to a problem? Please describe. See this example: https://github.com/liamca/sqlite-hybrid-search/tree/main and the sqlite docs: https://www.sqlite.org/fts5.html This should be complemented with the SQLite-v...
Open Graph Description: Is your feature request related to a problem? Please describe. See this example: https://github.com/liamca/sqlite-hybrid-search/tree/main and the sqlite docs: https://www.sqlite.org/fts5.html This ...
X Description: Is your feature request related to a problem? Please describe. See this example: https://github.com/liamca/sqlite-hybrid-search/tree/main and the sqlite docs: https://www.sqlite.org/fts5.html This ...
Opengraph URL: https://github.com/feast-dev/feast/issues/5073
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add SQLite Hybrid Search and BM25 for local vector search","articleBody":"**Is your feature request related to a problem? Please describe.**\nSee this example: https://github.com/liamca/sqlite-hybrid-search/tree/main and the sqlite docs: https://www.sqlite.org/fts5.html\n\nThis should be complemented with the SQLite-vec implementation. \n\n**Describe the solution you'd like**\n```python\ndocument_embeddings = FeatureView(\n name=\"embedded_documents\",\n entities=[item, author],\n schema=[\n Field(\n name=\"vector\",\n dtype=Array(Float32),\n # Look how easy it is to enable RAG!\n vector_index=True,\n vector_search_metric=\"COSINE\",\n ),\n Field(name=\"item_id\", dtype=Int64),\n Field(name=\"author_id\", dtype=String),\n Field(name=\"created_timestamp\", dtype=UnixTimestamp),\n Field(name=\"sentence_chunks\", dtype=String),\n Field(name=\"event_timestamp\", dtype=UnixTimestamp),\n ],\n source=rag_documents_source,\n ttl=timedelta(hours=24),\n)\n```\nSomewhere in the FeatureView we should allow the search to be declared explicitly.\n\nAlso, need to drop the `query_embedding` as a required input in:\n\n```python\nresults = store.retrieve_online_documents_v2(\n features=[\n \"document_embeddings:Embeddings\",\n \"document_embeddings:content\",\n \"document_embeddings:title\",\n ],\n query=query_embedding,\n query_string=\"(content: 5) OR (title: 1) OR (title: 3)\",\n top_k=3,\n).to_dict()\nprint(results)\n```\n\n**Describe alternatives you've considered**\nTBD\n\n**Additional context**\nAdd any other context or screenshots about the feature request here.","author":{"url":"https://github.com/franciscojavierarceo","@type":"Person","name":"franciscojavierarceo"},"datePublished":"2025-02-19T17:09:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5073/feast/issues/5073"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:42027d82-f758-ba3e-c9d5-2ea95fc44120 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93C4:24C017:15BE93:1F329F:696F9795 |
| html-safe-nonce | 8983adf0fd3fbd1c1c3c9ec4f2cd75f617fd0c16eaf5a81cfb38a701ead02477 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0M0OjI0QzAxNzoxNUJFOTM6MUYzMjlGOjY5NkY5Nzk1IiwidmlzaXRvcl9pZCI6Ijg3NTcwOTQzOTg4MDY2OTM3ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 88f1ed7fc5acd841511b333e4a7e1fc29b3b64535d9e1f3b8fa34aa6250b62c9 |
| hovercard-subject-tag | issue:2863936372 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5073/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cfff155f19dabd21bc3e86ee8f8791de4701414885e5b1686ba1e8cb0275b30/feast-dev/feast/issues/5073 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cfff155f19dabd21bc3e86ee8f8791de4701414885e5b1686ba1e8cb0275b30/feast-dev/feast/issues/5073 |
| og:image:alt | Is your feature request related to a problem? Please describe. See this example: https://github.com/liamca/sqlite-hybrid-search/tree/main and the sqlite docs: https://www.sqlite.org/fts5.html This ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | franciscojavierarceo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width