Repository navigation
Commit b4a172c
authored
improvement(knowledge): finish Confluence passes past unreadable attachments, rank unauthenticated keyword search in one statement (#8975)
* improvement(knowledge): finish Confluence passes past unreadable attachments, rank unauthenticated keyword search in one statement
- Confluence: a 403/404 on one parent's attachment listing is skipped with a
warning instead of recorded as a listing failure, so the pass can finish and
advance lastSyncAt. The page still marks the listing reconciliation-unsafe,
so attachments it did not list are kept, never deleted. Missing scopes and
server failures stay listing failures.
- Connector counts: the member engine keeps the recorded document count on an
unfinished slice once a pass has finished, the same gate the content engine
uses. The count query and gate now live in sync-primitives.
- Keyword search: callers with no person behind them rank through the same
materialized candidate statement signed-in readers use, instead of ORDER BY
ts_rank_cd over a per-chunk join. Same ACL predicate and global ordering,
ties now broken by chunk id; still unbudgeted.
* test(knowledge): compare single-statement keyword ranking against the two-step reference1 parent 6abc330 commit b4a172c
8 files changed
Lines changed: 607 additions & 134 deletions
File tree
- apps/sim
- connectors/confluence
- lib/knowledge
- __integration__
- connectors
- search
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
220 | 259 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
226 | 265 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
231 | 269 | | |
232 | 270 | | |
233 | | - | |
234 | 271 | | |
235 | | - | |
| 272 | + | |
236 | 273 | | |
237 | 274 | | |
238 | | - | |
239 | 275 | | |
240 | 276 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
253 | 285 | | |
254 | 286 | | |
255 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| |||
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
422 | 427 | | |
423 | | - | |
424 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
425 | 441 | | |
426 | 442 | | |
427 | 443 | | |
| |||
453 | 469 | | |
454 | 470 | | |
455 | 471 | | |
456 | | - | |
| 472 | + | |
| 473 | + | |
457 | 474 | | |
458 | 475 | | |
459 | 476 | | |
| |||
463 | 480 | | |
464 | 481 | | |
465 | 482 | | |
466 | | - | |
| 483 | + | |
| 484 | + | |
467 | 485 | | |
468 | 486 | | |
469 | 487 | | |
| |||
0 commit comments