fecf3d6fc1
Move the command lines helpers into different crates
2021-02-14 18:55:15 +01:00
d8f3421608
Update the dependencies and remove the unused ones
2021-02-14 18:32:46 +01:00
e8639517da
Change the project to become a workspace with milli as a default-member
2021-02-12 16:15:09 +01:00
d450b971f9
Merge pull request #78 from meilisearch/required-changes-for-transplant
...
Changes for transplant
2021-02-02 16:22:09 +01:00
8f43698a60
fix httpui
2021-02-01 19:49:51 +01:00
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
d487791b03
derive serde for method and format
...
This is nicer when working with UpdateMeta struct
2021-02-01 19:46:34 +01:00
91d8198d17
return documents number on addition
2021-02-01 19:42:10 +01:00
fa0cc2dc13
Merge pull request #66 from meilisearch/show-available-facets
...
Expose an API to compute facets distribution
2021-02-01 18:39:45 +01:00
14ae01a6c9
Fix some typos in error messages
2021-02-01 18:10:57 +01:00
f5f4438b43
Remove the duplicated code inside the facet_values_from_documents method
2021-01-28 11:22:18 +01:00
b6e91291fb
Add a comment to explain Serialize on FacetValue is implemented by hand
2021-01-27 18:29:56 +01:00
b41bf58658
Split the FacetDistribution facet_values method into three
2021-01-27 18:29:56 +01:00
a3e3bebed7
Rework the FacetDistribution execute method to use the faceted_fields struct
2021-01-27 18:29:54 +01:00
11309ee99c
Rework the FacetDistribution execute method to use the faceted_fields struct
2021-01-27 14:53:50 +01:00
9c8a654079
Add comments to help read the facet_values branchings
2021-01-27 14:49:08 +01:00
2e00740515
Make sure that we don't iterate throught all string facet values
2021-01-27 14:41:36 +01:00
b52d500fbc
Reorder the FacetType enum branching in the facet_value method
2021-01-27 14:36:49 +01:00
d91d321129
Introduce some constants to the FacetDistribution struct and settings
2021-01-27 14:32:30 +01:00
60480a1e2f
Rework the FacetCondition from_array constructor
2021-01-27 14:25:53 +01:00
65b821b192
Rename the Index facets method into facets_distribution
2021-01-27 14:15:33 +01:00
433ac8c38a
Remove the ordered-float serde feature
2021-01-27 14:11:10 +01:00
70e9b1e936
Introduce a flag to the search subcommand to display the facet distribution
2021-01-26 14:58:18 +01:00
61dbcfa44a
Bump the roaring to 0.6.4
2021-01-26 14:38:43 +01:00
916dd3b7c5
Use the faceted_fields_ids method to fetch the ids
2021-01-26 14:14:38 +01:00
b0c31500fc
Simplify the front page
2021-01-26 14:14:38 +01:00
7be275b692
Add the count to the facet distribution
2021-01-26 14:14:37 +01:00
4b9e81fc89
Order the facet values lexicographically
2021-01-26 14:09:09 +01:00
51a37de885
Introduce the FacetValue enum type
2021-01-26 14:09:09 +01:00
d893e83622
Speed-up facet aggregation by using a FacetIter
2021-01-26 14:09:08 +01:00
33945a3115
Introduce a new facet filters query field
2021-01-26 14:09:08 +01:00
afa86d8a45
Add a simple test to the FacetCondition from_array method
2021-01-26 14:06:29 +01:00
cb5e57e2dd
FacetCondition can be created from array of facets
2021-01-26 14:06:28 +01:00
a8e3269ad6
Introduce a basic front to display facets
2021-01-26 14:06:28 +01:00
2cd8675734
Show facet values even for empty queries
2021-01-26 14:06:28 +01:00
3916c54501
Speed-up facet aggregation on low number of candidates
2021-01-26 14:06:28 +01:00
a17bb54d8f
Limit the number of values by facets to a maximum of 1000
2021-01-26 14:06:28 +01:00
aa129dd7e8
Display the number of candidates instead of the returned document count
2021-01-26 14:06:28 +01:00
510df4729c
Append the facet value to the facet query on click
2021-01-26 14:06:28 +01:00
d25a859985
Display the facet values on the HTML debug page
2021-01-26 14:06:28 +01:00
3b64735058
Introduce a struct to compute facets values
2021-01-26 14:06:27 +01:00
30dae0205e
Merge pull request #67 from meilisearch/fix-settings
...
Fix displayed and searchable attributes
2021-01-26 14:03:43 +01:00
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
26f060f66b
Merge pull request #75 from meilisearch/fix-search-subcommand
...
Fix the search subcommand document display loop
2021-01-20 10:07:16 +01:00
c35befbf38
Fix the search subcommand document display loop
2021-01-18 19:06:36 +01:00
2fa5808e3f
Merge pull request #71 from meilisearch/cleanup-useless-build-rs
...
Cleanup useless custom build file
2021-01-15 15:45:47 +01:00
44c0dd0762
Fix an fst Set related warning
2021-01-13 11:03:03 +01:00
1bb9348a90
Remove the chinese-words.txt previous tokenizer related file
2021-01-13 11:01:57 +01:00
9141f5ef94
Remove the custom build.rs file
2021-01-13 11:01:38 +01:00
51d1785576
Merge pull request #63 from meilisearch/meilisearch-tokenizer
...
Meilisearch tokenizer
2021-01-12 13:26:24 +01:00