864 Commits

Author SHA1 Message Date
Kerollmops
d893e83622
Speed-up facet aggregation by using a FacetIter 2021-01-26 14:09:08 +01:00
Kerollmops
33945a3115
Introduce a new facet filters query field 2021-01-26 14:09:08 +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
Clément Renault
a8e3269ad6
Introduce a basic front to display facets 2021-01-26 14:06:28 +01:00
Clément Renault
2cd8675734
Show facet values even for empty queries 2021-01-26 14:06:28 +01:00
Clément Renault
3916c54501
Speed-up facet aggregation on low number of candidates 2021-01-26 14:06:28 +01:00
Clément Renault
a17bb54d8f
Limit the number of values by facets to a maximum of 1000 2021-01-26 14:06:28 +01:00
Kerollmops
aa129dd7e8
Display the number of candidates instead of the returned document count 2021-01-26 14:06:28 +01:00
Kerollmops
510df4729c
Append the facet value to the facet query on click 2021-01-26 14:06:28 +01:00
Kerollmops
d25a859985
Display the facet values on the HTML debug page 2021-01-26 14:06:28 +01:00
Kerollmops
3b64735058
Introduce a struct to compute facets values 2021-01-26 14:06:27 +01:00
Clément Renault
30dae0205e
Merge pull request #67 from meilisearch/fix-settings
Fix displayed and searchable attributes
2021-01-26 14:03:43 +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
Clément Renault
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
Clément Renault
c35befbf38
Fix the search subcommand document display loop 2021-01-18 19:06:36 +01:00
Clément Renault
2fa5808e3f
Merge pull request #71 from meilisearch/cleanup-useless-build-rs
Cleanup useless custom build file
2021-01-15 15:45:47 +01:00
Clément Renault
44c0dd0762
Fix an fst Set related warning 2021-01-13 11:03:03 +01:00
Clément Renault
1bb9348a90
Remove the chinese-words.txt previous tokenizer related file 2021-01-13 11:01:57 +01:00
Clément Renault
9141f5ef94
Remove the custom build.rs file 2021-01-13 11:01:38 +01:00
Clément Renault
51d1785576
Merge pull request #63 from meilisearch/meilisearch-tokenizer
Meilisearch tokenizer
2021-01-12 13:26:24 +01:00
mpostma
4f7f7538f7
highlight with new tokenizer 2021-01-11 21:59:37 +01:00
mpostma
1ae761311e
integrate with meilisearch tokenizer 2021-01-07 16:14:27 +01:00
Clément Renault
7e1c94ab9c
Merge pull request #65 from meilisearch/improve-facet-value-display
Improve the facet value displaying
2021-01-07 16:12:32 +01:00
Clément Renault
0a1beb688c
Improve the facet value displaying, extracting the facet level 2021-01-07 16:05:09 +01:00
Clément Renault
5dd4dc2862
Merge pull request #60 from meilisearch/accept-compressed-documents-updates
Accept and mirror compression of documents additions
2020-12-23 10:59:26 +01:00
Kerollmops
a576c7ae4b
Display the update meta result content on the update page 2020-12-22 13:42:43 +01:00
Kerollmops
6c7db3d956
Display the time it took to process an update 2020-12-22 13:42:43 +01:00
Kerollmops
9fcbc83ebc
Accept and mirror compression of documents additions 2020-12-22 13:42:42 +01:00
Clément Renault
cd158d4cde
Merge pull request #61 from meilisearch/update-handler
create update handler trait
2020-12-22 13:42:00 +01:00
mpostma
49a016b53d create update handler trait
fix type inference error
2020-12-22 12:59:15 +01:00
Clément Renault
5039528b56
Merge pull request #59 from meilisearch/improve-bytes-structopt
Use the byte-unit crate to ease library usage
2020-12-20 14:52:39 +01:00
Kerollmops
77e951e933
Use the byte-unit crate to ease library usage 2020-12-20 12:00:37 +01:00
Clément Renault
b032ceb5d4
Merge pull request #56 from meilisearch/asc-desc-criteria-non-faceted
Return non-faceted documents to complete the requested limit
2020-12-17 14:34:36 +01:00
Clément Renault
914eab12f7
Return non-faceted documents as remaining results 2020-12-17 13:57:07 +01:00
Clément Renault
0dec761e21
Merge pull request #54 from meilisearch/compress-updates
Compress updates content using gzip
2020-12-17 11:06:31 +01:00
Clément Renault
5a23417499
Compress updates content using gzip 2020-12-17 10:59:58 +01:00
Clément Renault
cd5605bb86
Merge pull request #50 from meilisearch/fix-asc-desc-criterion
Fix the Asc/Desc criteria
2020-12-13 11:59:11 +01:00
Clément Renault
0e5609d40e
Limit the number of elements after reversing it 2020-12-12 14:21:27 +01:00
Clément Renault
9d966a28d3
Merge pull request #47 from meilisearch/fix-grenad-write-bug
Bump grenad to fix an indexing bug
2020-12-05 17:18:49 +01:00
Clément Renault
e7f2ab9138
Bump grenad to fix an indexing bug 2020-12-05 16:39:15 +01:00
Clément Renault
9628da2d17
Merge pull request #40 from meilisearch/asc-desc-faceted-fields
Ascending and descending custom ranking
2020-12-04 12:08:22 +01:00
Clément Renault
026f54dcf7
Use the field id docid facet value database when sorting documents 2020-12-04 12:03:20 +01:00
Clément Renault
3cdf14d4c5
Introduce the field-id-docid-facet-values database 2020-12-04 12:03:20 +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
Clément Renault
0959e1501f
Introduce the FacetRevRange Iterator struct 2020-12-04 12:02:23 +01:00
Clément Renault
58d039a70d
Introduce the FacetIter Iterator 2020-12-04 12:02:23 +01:00
Clément Renault
d8e25a0863
Order documents by the first custom criterion on basic searches 2020-12-04 12:02:23 +01:00
Clément Renault
e0cc7faea1
Use the facet ordered to the search 2020-12-04 12:02:23 +01:00