Clément Renault
40c0b14d1c
Reintroduce searchable attributes and reordering
2019-12-13 14:38:25 +01:00
Clément Renault
a4dd033ccf
Rename raw_matches into bare_matches
2019-12-13 14:38:25 +01:00
Clément Renault
48e8778881
Clean up the modules declarations
2019-12-13 14:38:25 +01:00
Clément Renault
4be23efe66
Remove the AttrCount type
...
Could probably be reintroduced later
2019-12-13 14:38:25 +01:00
Clément Renault
7d67750865
Reintroduce exacteness for one word document field
2019-12-13 14:38:25 +01:00
Clément Renault
746e6e170c
Make the test pass again
2019-12-13 14:38:24 +01:00
Clément Renault
d93e35cace
Introduce ContextMut and Context structs
2019-12-13 14:38:24 +01:00
Clément Renault
d75339a271
Prefer summing the attribute
2019-12-13 14:38:24 +01:00
Clément Renault
86ee0cbd6e
Introduce bucket_sort_with_distinct function
2019-12-13 14:38:24 +01:00
Clément Renault
248ccfc0d8
Update the criteria to the new ones
2019-12-13 14:38:24 +01:00
Clément Renault
ea148575cf
Remove the raw_query functions
2019-12-13 14:38:23 +01:00
Clément Renault
efc2be0b7b
Bump the sdset dependency to 0.3.6
2019-12-13 14:38:23 +01:00
Clément Renault
8d71112dcb
Rewrite the phrase query postings lists
...
This simplified the multiword_rewrite_matches function a little bit.
2019-12-13 14:38:23 +01:00
Clément Renault
dd03a6256a
Debug pre filtered number of documents
2019-12-13 14:38:23 +01:00
Clément Renault
9c03bb3428
First probably working phrase query doc filtering
2019-12-13 14:38:23 +01:00
Clément Renault
22b19c0d93
Fix the processed distance algorithm
2019-12-13 14:38:22 +01:00
Clément Renault
0f698d6bd9
Work in progress: Bad Typo detection
...
I have an issue where "speakers" is split into "speaker" and "s",
when I compute the distances for the Typo criterion,
it takes "s" into account and put a distance of zero in the bucket 0
(the "speakers" bucket), therefore it reports any document matching "s"
without typos as best results.
I need to make sure to ignore "s" when its associated part "speaker"
doesn't even exist in the document and is not in the place
it should be ("speaker" followed by "s").
This is hard to think that it will had much computation time to
the Typo criterion like in the previous algorithm where I computed
the real query/words indexes based and removed the invalid ones
before sending the documents to the bucket sort.
2019-12-13 14:38:22 +01:00
Clément Renault
4e91b31b1f
Make the Typo and Words work with synonyms
2019-12-13 14:38:22 +01:00
Clément Renault
f87c67fcad
Improve the QueryEnhancer by doing a single lookup
2019-12-13 14:38:22 +01:00
Clément Renault
902625601a
Work in progress: It seems like we support synonyms, split and concat words
2019-12-13 14:38:22 +01:00
Clément Renault
d17d4dc5ec
Add more debug infos
2019-12-13 14:38:21 +01:00
Clément Renault
ef6a4db182
Before improving fields AttrCount
...
Removing the fields_count fetching reduced by 2 times the serach time, we should look at lazily pulling them form the criterions in needs
ugly-test: Make the fields_count fetching lazy
Just before running the exactness criterion
2019-12-13 14:38:21 +01:00
Clément Renault
11f3d7782d
Introduce the AttrCount type
2019-12-13 14:38:21 +01:00
Clément Renault
5b9fff6636
Merge pull request #352 from meilisearch/add-search-benchmarks
...
Add some criterion benchmarks to help detect regressions
2019-12-13 14:37:48 +01:00
Clément Renault
a8272f0eef
Add a benchmark github workflow
2019-12-13 14:17:40 +01:00
Clément Renault
951f0bcb10
sqaush-me: Improve benchmarks naming
2019-12-13 14:17:40 +01:00
Clément Renault
d8ba405baf
Add some criterion benchmarks to help mesure improvements
2019-12-13 14:17:40 +01:00
Clément Renault
70f18a8086
Merge pull request #400 from meilisearch/fix-issues
...
Close multiples issues on HTTP behavior
2019-12-13 10:30:42 +01:00
Quentin de Quelen
0b5db77511
Fix erase setting option
2019-12-13 10:22:35 +01:00
Quentin de Quelen
3a4130f344
Allow to index files with null or boolean
2019-12-12 19:25:05 +01:00
Quentin de Quelen
1ea29bb92e
Fix unwrap if schema does not contain ranked attributes on a custom ranking setting
2019-12-12 16:37:46 +01:00
Quentin de Quelen
04d34cb8aa
Search; return formated section only if it's necessary
2019-12-12 16:36:42 +01:00
Quentin de Quelen
bf80729e17
Update message on access forbidden
2019-12-12 15:39:32 +01:00
Quentin de Quelen
88b3c05155
Stop words; Do not reindex all documents if there is no documents
2019-12-12 15:31:39 +01:00
Quentin de Quelen
6edef07e29
HTTP delete index route; Fix error on index not found
2019-12-12 14:06:16 +01:00
Clément Renault
5ad73fe08b
Merge pull request #399 from meilisearch/rewrite-synonym-endpoint
...
Rewrite the synonym endpoint
2019-12-12 12:58:14 +01:00
Quentin de Quelen
a4f26e8e48
Rewrite the synonym endpoint
2019-12-12 12:47:02 +01:00
Clément Renault
cc10804607
Merge pull request #395 from meilisearch/update-bitly-link
...
Update the bit.ly movies.json link
2019-12-10 18:13:52 +01:00
Clément Renault
f959cd76ae
Update the bit.ly movies.json link
2019-12-10 18:07:14 +01:00
Clément Renault
dcd332e2e4
Merge pull request #396 from meilisearch/disable-windows-tests
...
Disable windows tests
2019-12-10 18:03:13 +01:00
Clément Renault
f3a276d1e1
Update the workflow README.md
2019-12-10 17:56:24 +01:00
Clément Renault
640d21a7d2
Disable the Windows tests workflow
2019-12-10 17:53:26 +01:00
Clément Renault
216cccbfba
Merge pull request #391 from meilisearch/fix-one-document-route
...
Do not expect a JSON value as a document indentifer
2019-12-09 21:53:04 +01:00
Clément Renault
04d1da11f7
Do not expect a JSON value as a document indentifer
2019-12-09 21:34:40 +01:00
Clément Renault
ee4e9dcc74
Merge pull request #388 from meilisearch/remove-synonyms-unwraps
...
Remove unsound unwraps from the synonym routes
2019-12-09 17:06:02 +01:00
Clément Renault
6fef04be20
Remove unsound unwraps from the synonym routes
2019-12-09 16:54:54 +01:00
Clément Renault
86347bff3a
Merge pull request #384 from curquiza/install-script-prereleases
...
Change regexp in install script
2019-12-09 15:28:19 +01:00
Clementine Urquizar
e291d9954a
Change regexp in install script to not take into acccount pre-releases
2019-12-09 15:14:25 +01:00
Clément Renault
7a548467b9
Merge pull request #382 from curquiza/health-routes
...
Keep only useful routes for /health
2019-12-08 18:11:19 +01:00
Clementine Urquizar
06d8e00ff3
Keep only useful routes for /health
2019-12-08 17:56:33 +01:00