| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: update support for patching keys (#2820) | 6 个月前 | |
Limit text indexed for string sorting to prevent abuse. | 3 年前 | |
fix: empty payload calls (#2704) | 8 个月前 | |
add prefix auth_key in access logs (#2915) * add prefix auth_key in access logs * Log resolved API key prefixes for scoped and multi-search requests * add empty query check --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
Force whisper to not transcribe punctuations (#1771) * Force whisper to not transcribe punctuations * Fix the test | 2 年前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
add: personalization model APIs (#2001) * add: basic recommendations endpoint * add: POST `/recommendations/models` recommendations endpoint * add: get specific model endpoint * add: DELETE `/recommendations/models/:id` and GET all models recommendations endpoint * add: ONNX model upload endpoint * add: save the file as a .tar.gz instead of ONNX * add: verify_tar_gz function * add: support for model upload * add: PUT `/recommendations/model/:id` to update the model, name, collection * refactor: recommendations -> personalization * add: personalization tests * add: personalization_model_manager_tests * fix: review comments * fix: review comments | 1 年前 | |
Properly memset after malloc. | 5 年前 | |
Add defensive check for array decompress. | 11 个月前 | |
Add tests for `ArrayUtils::skip_index_to_id`. | 3 年前 | |
Tighten bounds during typo exploration. | 7 个月前 | |
add prefix auth_key in access logs (#2915) * add prefix auth_key in access logs * Log resolved API key prefixes for scoped and multi-search requests * add empty query check --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
Recompute queued_writes instead of relying on serialized state. | 2 个月前 | |
Pre-emptively log long running queries. | 6 个月前 | |
Rebind reference field to the new swapped collection alias. (#2963) * Rebind reference field to the new swapped collection alias. * Fix a scenario where swapping alias would break references when new collection did not exist yet. * Fix alias target swap rollback after async ref backfill failure. * Split async reference backfill into verification and application steps. * Update reference alias swap, deferred symlink resolution and create collection to use the uniform logic of staging, verification and rollback. * Stage referenced_ins replay and deferred alias resolution together during collection creation. * Fix staged async backfills to patch helper fields only. * Obtain shared_ptr of Collection during backfilling to avoid dangling pointer edge case. * Skip document which has a new reference value in between staging and applying changes. | 2 个月前 | |
Rebind reference field to the new swapped collection alias. (#2963) * Rebind reference field to the new swapped collection alias. * Fix a scenario where swapping alias would break references when new collection did not exist yet. * Fix alias target swap rollback after async ref backfill failure. * Split async reference backfill into verification and application steps. * Update reference alias swap, deferred symlink resolution and create collection to use the uniform logic of staging, verification and rollback. * Stage referenced_ins replay and deferred alias resolution together during collection creation. * Fix staged async backfills to patch helper fields only. * Obtain shared_ptr of Collection during backfilling to avoid dangling pointer edge case. * Skip document which has a new reference value in between staging and applying changes. | 2 个月前 | |
Ensure that we handle missing conversation history collection. | 10 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
fix(convo-nl): handle conversation & nl model id changes during update (#2660) - add logic to handle model id change during the update process - check for model id duplication and return appropriate error - ensure old model is removed from store if id changes and insertion fails - restore old model on error during model removal or insertion | 9 个月前 | |
Improve synonym index concurrency. | 2 个月前 | |
Fix race conditions in processing concurrent requests of related collections. (#2815) * Remove reference helper fields in response. * Refactor `Index::update_async_references` logic. * Implement `Collection::reset_referencing_documents()`. * Refactor `Collection::reset_referencing_documents`. * Refactor cascade delete logic. * Refactor serialization logic of related requests. * Refactor `BatchedIndexer::get_requests_to_wait_on` to use request's log_index, when available. * Add `reference_cascade_delete_concurrent.test.ts`. * Fix api-test failing due to collision of collection name since the test state is shared. * Save `waiting_on_requests` in snapshot and load on restart. Re-introduce `BatchedIndexer::coll_to_references` to hold the references of every collection. Return `last_index`, `known_applied_index`, `applying_index` in `/status` response. | 5 个月前 | |
Fix missing synonyms, stem, and stemming_dictionary fields in curation GET responses (#2769) * Fix missing synonyms, stem, and stemming_dictionary fields in curation GET responses * Fix existing test | 6 个月前 | |
update: curation refactor (#2574) * add: v30 overrides * update: UTs * fix: all UTs * add: migration support and integration tests * add: migration support and integration tests * fix: CI * rename: curation * rename: curation * rename: curation * fix: CI * add: curation_sets API tests * fix: unintentional override changes | 11 个月前 | |
fix(curations-synonyms): fully replace set contents on PUT (#2905) * test(api-tests/synonyms): verify synonym set replace after snapshot - assert full PUT replacement removes stale synonym items across single-node and multi-node restart and snapshot phases * fix(synonyms): remove stale synonym items on set replace - validate replacement items before clearing the persisted synonym range, then write the new set contents to disk * test(api-tests/curation): verify curation set replace after snapshot - assert full PUT replacement removes stale curation items across single-node and multi-node restart and snapshot phases * fix(curation): remove stale curation items on set replace - validate replacement items before clearing the persisted curation range, then write the new set contents to disk | 4 个月前 | |
Load collections parallelly during start up. | 5 年前 | |
fix: ensure forward-only iterator reads lower seq_id first in diversity similarity (#2793) * test: add regression test for MMR diversity forward-only iterator bug When the selected document has a lower seq_id than a candidate, the forward-only posting list iterator cannot reverse, causing similarity_t::calculate() to silently return 0. This new test uses sort_by=sort_order:asc with diversity_lambda=0 to trigger the bug: doc "1" (Jaccard=0.5 with doc "0") should be pushed down by diversity reranking but isn't when similarity is incorrectly computed as 0. * fix: ensure forward-only iterator reads lower seq_id first in diversity similarity The posting_list_t::iterator_t::skip_to() is forward-only and cannot reverse. When seq_id_j < seq_id_i, the second skip_to() stays at seq_id_i's position, the ID check fails, and similarity silently returns 0 -- defeating MMR diversity reranking. Use std::min/std::max to always read the lower seq_id first. Jaccard and equality similarity are symmetric, so the order doesn't affect correctness. Also update DiversityOverride test assertions to reflect the correct diversity ordering now that similarity is computed correctly in both iterator directions. | 6 个月前 | |
fix: crash on internal event addition (#2490) * fix: crash on internal event addition * add: UTs and integration tests * add: UTs and integration tests * fix: more safe memory access | 1 年前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
Fix facet count iterator after node reinsertion | 5 个月前 | |
Fix broken reference on restart if alias collection name is used. (#2919) * Fix broken reference on restart if alias collection name is used. Improve referenced_ins persistence. * Persist `$REFERENCED_INS` after `_populate_referenced_ins()` call. Populate `referenced_field_name` correctly. * Fix test. | 3 个月前 | |
Add create dir file util method. | 4 年前 | |
perf(index): split grouped second-pass string filters into chunks (#2925) * perf(index): split grouped second-pass string filters into chunks * fix(filter): add validate_max_ops flag to parse_filter_query - gate filter_by_max_ops check behind the new flag (default true) - pass false for the internally generated grouped second-pass filter, which is chunked into many ORed sub-filters and can exceed the limit even when the user's filter_by would not | 3 个月前 | |
feat: Infix filtering support #2685 (#2813) * feat: Infix filtering support [#2685](https://github.com/mdhaduk/typesense/issues/2685) * refactor(infix-filter): lazy evaluation + remove multi-token infix support Changes: - include/index.h, src/index.cpp: add search_infix_leaves(); refactor search_infix() to call it - src/filter_result_iterator.cpp: lazy infix path via search_infix_leaves() + posting_list_iterators; 400 error for multi-token; remove has_infix_results block; remove #include <algorithm> - test/filter_test.cpp: add FilterTest.InfixLazyEvaluation (5 cases including multi-token 400 error) Assumptions: - Infix filter values must be single tokens. A value that tokenises to N > 1 tokens returns 400. This is safe: every existing test uses single-token patterns (*ris*, *pta*, etc.); no documented behaviour depended on multi-token AND semantics. * test(infix-filter): verbatim error assertions + AND-of-two-infix test case - Replace substring find() checks with verbatim ASSERT_EQ on full error messages in FilterTest.InfixLazyEvaluation - Add FilterTest.InfixLazyEvaluation Test 5: cast:*ris* && cast:*in* * test(infix-filter): add enable_lazy_filter and exact-match operator tests Note: Tests 10 and 11 use collectionManager.do_search() with req_params to exercise the enable_lazy_filter HTTP parameter, which is not exposed through the coll->search() | 3 个月前 | |
refactor using s2regiontermindexer | 1 年前 | |
Pre-emptively log long running queries. | 6 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
add exception for operation get endpoint route (#2792) | 5 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
add prefix auth_key in access logs (#2915) * add prefix auth_key in access logs * Log resolved API key prefixes for scoped and multi-search requests * add empty query check --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
Fix facet value intersection galloping. | 1 年前 | |
Add sampling for value based faceting. | 2 年前 | |
feat: add support for SigLIP tokenizer and image processor (#2795) | 6 个月前 | |
feat: add support for SigLIP tokenizer and image processor (#2795) | 6 个月前 | |
Aggregate nested references correctly. (#2951) | 3 个月前 | |
Handle concurrency of ja tokenizer. | 3 年前 | |
Alter reference fields. (#2885) * Fix issues related to reference field alter operation. * Only alter reference index and embedding_fields in Collection::batch_alter_data. * Reference helper field is removed from the document when a reference field is dropped. * Handle object reference field deletion correctly in case its parent object is dropped. * Use seq_id of individual record in `iter_batch` when removing `del_fields`. * Update reference field in case of drop+add operation in alter. | 4 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
fix(convo-nl): handle conversation & nl model id changes during update (#2660) - add logic to handle model id change during the update process - check for model id duplication and return appropriate error - ensure old model is removed from store if id changes and insertion fails - restore old model on error during model removal or insertion | 9 个月前 | |
Numeric iterator (#1709) * Numeric filter iterator. * Add test cases. * Refactor. * Float field filter iterator. | 2 年前 | |
Optimize `NumericTrie::Node::search_range_helper`. (#2390) * Optimize `NumericTrie::Node::search_range_helper`. * Refactor `NumericTrie::Node` methods. | 1 年前 | |
Improve lazy not iterator perf (#1669) * Refactor `is_valid(id)` logic. * Fix `CollectionFilteringTest` and `CollectionJoinTest`. * Refactor not equals iterator logic. * Fix `CollectionJoinTest.SortByReference`. * Fix `filter_result_iterator_t::contains_atleast_one`. * Refactor `filter_result_iterator_t::and_filter_iterators`. * Refactor `filter_result_iterator_t::contains_atleast_one`. * Update `approx_filter_ids_length` in not equals. | 2 年前 | |
fix: num_dims (#2529) * fix: num_dims * update: assertions | 1 年前 | |
fix: num_dims (#2529) * fix: num_dims * update: assertions | 1 年前 | |
Fix highlight race condition. | 6 个月前 | |
fix token offsets when prioritized (#2740) * fix token offsets when prioritized * normalize and clamp single-token posting list offsets | 5 个月前 | |
Fix race conditions in processing concurrent requests of related collections. (#2815) * Remove reference helper fields in response. * Refactor `Index::update_async_references` logic. * Implement `Collection::reset_referencing_documents()`. * Refactor `Collection::reset_referencing_documents`. * Refactor cascade delete logic. * Refactor serialization logic of related requests. * Refactor `BatchedIndexer::get_requests_to_wait_on` to use request's log_index, when available. * Add `reference_cascade_delete_concurrent.test.ts`. * Fix api-test failing due to collision of collection name since the test state is shared. * Save `waiting_on_requests` in snapshot and load on restart. Re-introduce `BatchedIndexer::coll_to_references` to hold the references of every collection. Return `last_index`, `known_applied_index`, `applying_index` in `/status` response. | 5 个月前 | |
Rate limit API updates & improvements (#846) * Rate limit procedure updates & improvements * Review changes * Update for adding support to delete temp throttles * Review Changes II * Review Changes III | 3 年前 | |
fix(analytics): use meta fields in query id generation (#2766) * test: add test for unique id generation with meta fields - verify `popular_queries` generates distinct ids per `meta_fields` value - cover combinations of `filter_by` and `analytics_tag` * fix(analytics): include meta fields in popular queries id generation | 7 个月前 | |
Block based posting list intersection. | 5 年前 | |
serialize dictionary before applying upsert changes (#2888) Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
don't transliterate stopword tokens (#2781) * don't transliterate stopword tokens * add test * rename boolean to do_transliterate and make it default enabled | 6 个月前 | |
rockdb param flags (#2371) * add rocksdb param flags custom tuning * make indexing concurrency configurable * update param name * update funciton name * add environment config | 1 年前 | |
add prefix auth_key in access logs (#2915) * add prefix auth_key in access logs * Log resolved API key prefixes for scoped and multi-search requests * add empty query check --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
Improve synonym index concurrency. | 2 个月前 | |
Improve synonym index concurrency. | 2 个月前 | |
Implement cgroups conditions memory handling (#2906) * Implement cgroups conditions memory handling Signed-off-by: stafot <stafot@gmail.com> * fix: resolve container cgroup path via /proc/self/cgroup The initial implementation read memory.max and memory.current from fixed paths under /sys/fs/cgroup/, which only works when the container runtime sets up a cgroup namespace (cgroupns) — remounting the pod's own cgroup as the root inside the container. Without cgroupns the container sees the host cgroup hierarchy, so the pod's memory files live under a nested path such as /sys/fs/cgroup/kubepods.slice/.../scope/memory.max rather than at the root. The guard would silently fall back to node-level sysinfo, never firing for the container. Fix: read /proc/self/cgroup at runtime to resolve the process's actual cgroup path (0::<rel_path> for v2, memory:<rel_path> for v1), then construct the full file paths as cgroup_root + rel_path + /memory.max etc. This works correctly both with and without cgroupns. get_cgroup_memory signature updated to accept injectable proc_self_cgroup and cgroup_root paths for testing. Test fixtures restructured to simulate a real cgroup filesystem layout under test/resources/cgroupfs/. Signed-off-by: stafot <stafot@gmail.com> * Revert unneeded changes Signed-off-by: stafot <stafot@gmail.com> * Reorg tests Signed-off-by: stafot <stafot@gmail.com> * Fix test sandbox fixtures Signed-off-by: stafot <stafot@gmail.com> --------- Signed-off-by: stafot <stafot@gmail.com> | 2 个月前 | |
feat: add support for SigLIP tokenizer and image processor (#2795) | 6 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
feat: add support for SigLIP tokenizer and image processor (#2795) | 6 个月前 | |
Enable slow searches logging by default (30s cutoff) | 3 年前 | |
fix(tokenizer): preserve original utf8 byte length for offsets (#2912) * test(tokenizer): add greek locale byte offset validation * test(collection): add utf8-safe highlighting test for greek transliterations * fix(tokenizer): preserve original utf8 byte length for offsets * fix(tokenizer): correct offset calculation for korean normalization | 4 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
add ssl wrapper for remote model http calls (#2907) * add ssl wrapper for model http api calls * Fix SSE proxy handling for SSL verification failures --------- Co-authored-by: Kishore Nallan <kishorenc@gmail.com> | 4 个月前 | |
feat: support sending empty vectors for optional embedding fields (#2442) * feat: support sending empty vectors for optional embedding fields * refactor the test * fix: fix the logic for the validator | 1 年前 | |
Fix image embedder call | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 3 年前 | ||
| 8 个月前 | ||
| 4 个月前 | ||
| 2 年前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 5 年前 | ||
| 11 个月前 | ||
| 3 年前 | ||
| 7 个月前 | ||
| 4 个月前 | ||
| 2 个月前 | ||
| 6 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 10 个月前 | ||
| 4 个月前 | ||
| 9 个月前 | ||
| 2 个月前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 11 个月前 | ||
| 4 个月前 | ||
| 5 年前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 4 年前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 3 个月前 | ||
| 3 年前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 3 年前 | ||
| 7 个月前 | ||
| 5 年前 | ||
| 4 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 6 个月前 | ||
| 4 个月前 | ||
| 6 个月前 | ||
| 3 年前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 1 年前 |