Commit Graph

11 Commits

Author SHA1 Message Date
mpostma
3b60432687
Use update_id in UpdateBuilder
Add `the update_id` to the to the updates. The rationale is the
following:
- It allows for better tracability of the update events, thus improved
  debugging and logging.
- The enigne is now aware of what he's already processed, and can return
  it if asked. It may not make sense now, but in the future, the update
  store may not work the same way, and this information about the state
  of the engine will be desirable (distributed environement).
2021-02-01 19:46:34 +01:00
Clément Renault
14ae01a6c9
Fix some typos in error messages 2021-02-01 18:10:57 +01:00
Clément Renault
60480a1e2f
Rework the FacetCondition from_array constructor 2021-01-27 14:25:53 +01:00
Kerollmops
916dd3b7c5
Use the faceted_fields_ids method to fetch the ids 2021-01-26 14:14:38 +01:00
Kerollmops
afa86d8a45
Add a simple test to the FacetCondition from_array method 2021-01-26 14:06:29 +01:00
Kerollmops
cb5e57e2dd
FacetCondition can be created from array of facets 2021-01-26 14:06:28 +01:00
mpostma
87a56d2bc9
Fix settings bug
replace ids with str in settings

This allows for better maintainability of the settings code, since
updating the searchable attributes is now straightforward.

criterion use string

fix reindexing fieldid remaping

add tests for primary_key compute

fix tests

fix http-ui

fixup! add tests for primary_key compute

code improvements settings

update deps

fixup! code improvements settings

fixup! refactor settings updates and fix bug

fixup! Fix settings bug

fixup! Fix settings bug

fixup! Fix settings bug

Update src/update/index_documents/transform.rs

Co-authored-by: Clément Renault <clement@meilisearch.com>

fixup! Fix settings bug
2021-01-26 13:53:08 +01:00
mpostma
49a016b53d create update handler trait
fix type inference error
2020-12-22 12:59:15 +01:00
Clément Renault
4ffbddf21f
Introduce debug info for the time it takes to fetch candidates 2020-12-04 12:03:20 +01:00
Clément Renault
13217f072b
Use the FacetRange iterator in the facet exploring function 2020-12-04 12:03:20 +01:00
Kerollmops
57e8e5c965
Move the FacetCondition to its own module 2020-12-02 11:21:26 +01:00