| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:670b3db0-858d-afdf-4ed7-2d2ae57b5554 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9076:29D5DB:A6D961:E4FA74:6AFB5022 |
| html-safe-nonce | 67a3cc7ccaa7152100f421fd80bef9ce91b2de2167f53319ad79c46bc1cd4f43 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDc2OjI5RDVEQjpBNkQ5NjE6RTRGQTc0OjZBRkI1MDIyIiwidmlzaXRvcl9pZCI6IjI5NTMxODg3MDY3MjQwNDA3MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0577451ced6a5012b117de0261cade576b782772e4d7d2cef035959f63835295 |
| hovercard-subject-tag | pull_request:4648640557 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8333/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Since #8314, workspace knowledge search ranks on embedding/document. The only live reader of embedding_keyword_search and embedding_keyword_tin is dormant indexed search, and only for base... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/8333/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8333%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8333%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/8333/files |
| Reload | https://github.com/simstudioai/sim/pull/8333/files |
| Reload | https://github.com/simstudioai/sim/pull/8333/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| improvement/scope-keyword-projections-to-search-indexes | https://github.com/simstudioai/sim/tree/improvement/scope-keyword-projections-to-search-indexes |
|
Conversation
22
| https://github.com/simstudioai/sim/pull/8333 |
|
Commits
4
| https://github.com/simstudioai/sim/pull/8333/commits |
|
Checks
32
| https://github.com/simstudioai/sim/pull/8333/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8333/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
|
improvement(knowledge): maintain keyword projections only for search indexes
| https://github.com/simstudioai/sim/pull/8333/files#top |
|
Show all changes
4 commits
| https://github.com/simstudioai/sim/pull/8333/files |
|
1c4ffa5
improvement(knowledge): maintain keyword projections only for search …
waleedlatif1 Sep 26, 2026
| https://github.com/simstudioai/sim/pull/8333/commits/1c4ffa58bca03c32ce1ad4d1e706c4e81dddcafb |
|
0a4036b
improvement(knowledge): guard keyword upserts, scope the keyword back…
waleedlatif1 Sep 26, 2026
| https://github.com/simstudioai/sim/pull/8333/commits/0a4036b61d9b570415295b72e4075ad6c660be30 |
|
e43c5e0
improvement(knowledge): leave the legacy keyword backfill unscoped
waleedlatif1 Sep 26, 2026
| https://github.com/simstudioai/sim/pull/8333/commits/e43c5e059f4391c0632c9d1cfd0443dcccb8677a |
|
decf822
improvement(knowledge): key-share lock the chunks a search-index adop…
waleedlatif1 Sep 26, 2026
| https://github.com/simstudioai/sim/pull/8333/commits/decf822085ef6d07cdad72f166c2509e15d522ba |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8333/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
|
embedding-insert-batches.integration.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-bc8259b88e502c579d0e0c55d3b5f72544170050f98aa98661b8f931e6610f7c |
|
knowledge-projection.integration.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
processing-lock-scope.integration.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
|
README.md
| https://github.com/simstudioai/sim/pull/8333/files#diff-395a60a1999a0ee48125cf14f1569b8aafa620c9bcc7fcce735625ee29f1c27e |
|
knowledge-projection.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
script-migrations-paused-billing-attribution.test.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-509458c3951fa9cd2e97a7942fd977a83ef520c679d29dc242a5b2cacfb02743 |
|
0016_backfill_search_vectors.integration.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-1bdec0d650a77d94891a127f1353fb9a19b9cfdc1a9e6afaa5889df1f3fd1742 |
|
0019_tin_keyword_projection.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
|
0025_scope_keyword_projections.integration.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-cf38e5f7ed74d684ff3aa8bd831e3dc88c3116fb820e859055562e171271c177 |
|
0025_scope_keyword_projections.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-311ebc5a11e0e236555c10734edb0deb7a2a0f196da61df4060fdeb1d802bab0 |
|
index.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-4c8058a0b924ce061c5ce010c1308148ea03720952dda10d03cee092b61adbd6 |
|
push.ts
| https://github.com/simstudioai/sim/pull/8333/files#diff-1cea81461793525069fcd588c91151e4913e3557208c7c31bb416794e6e76f30 |
| apps/sim/lib/knowledge/__integration__/embedding-insert-batches.integration.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-bc8259b88e502c579d0e0c55d3b5f72544170050f98aa98661b8f931e6610f7c |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/apps/sim/lib/knowledge/__integration__/embedding-insert-batches.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-bc8259b88e502c579d0e0c55d3b5f72544170050f98aa98661b8f931e6610f7c |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-bc8259b88e502c579d0e0c55d3b5f72544170050f98aa98661b8f931e6610f7c |
| apps/sim/lib/knowledge/__integration__/knowledge-projection.integration.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/apps/sim/lib/knowledge/__integration__/knowledge-projection.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-2402f60bac2b40b3cbf6c57449057301559de05b6be8614afe8ad52a806fc40a |
| apps/sim/lib/knowledge/__integration__/processing-lock-scope.integration.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/apps/sim/lib/knowledge/__integration__/processing-lock-scope.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8 |
| apps/sim/lib/sim-search/indexed/README.md | https://github.com/simstudioai/sim/pull/8333/files#diff-395a60a1999a0ee48125cf14f1569b8aafa620c9bcc7fcce735625ee29f1c27e |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/apps/sim/lib/sim-search/indexed/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-395a60a1999a0ee48125cf14f1569b8aafa620c9bcc7fcce735625ee29f1c27e |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-395a60a1999a0ee48125cf14f1569b8aafa620c9bcc7fcce735625ee29f1c27e |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-395a60a1999a0ee48125cf14f1569b8aafa620c9bcc7fcce735625ee29f1c27e |
| packages/db/knowledge-projection.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/packages/db/knowledge-projection.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
| packages/db/script-migrations-paused-billing-attribution.test.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-509458c3951fa9cd2e97a7942fd977a83ef520c679d29dc242a5b2cacfb02743 |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/packages/db/script-migrations-paused-billing-attribution.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-509458c3951fa9cd2e97a7942fd977a83ef520c679d29dc242a5b2cacfb02743 |
| packages/db/script-migrations/0016_backfill_search_vectors.integration.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-1bdec0d650a77d94891a127f1353fb9a19b9cfdc1a9e6afaa5889df1f3fd1742 |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/packages/db/script-migrations/0016_backfill_search_vectors.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-1bdec0d650a77d94891a127f1353fb9a19b9cfdc1a9e6afaa5889df1f3fd1742 |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-1bdec0d650a77d94891a127f1353fb9a19b9cfdc1a9e6afaa5889df1f3fd1742 |
| packages/db/script-migrations/0019_tin_keyword_projection.ts | https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
|
View file
| https://github.com/simstudioai/sim/blob/decf822085ef6d07cdad72f166c2509e15d522ba/packages/db/script-migrations/0019_tin_keyword_projection.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8333/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
|
| https://github.com/simstudioai/sim/pull/8333/files#diff-b1ef78b661b7b7be07501b9d108a561dc87a73120dfab5f58aac41095206affc |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8333/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |