mpostma 
							
						 
					 
					
						
						
							
						
						cd043d4461 
					 
					
						
						
							
							remove unused grenad default features  
						
						
						
						
					 
					
						2021-09-07 16:21:46 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						5989528833 
					 
					
						
						
							
							Add a test to make sure we throw the right error message  
						
						
						
						
					 
					
						2021-09-07 11:02:00 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						fd3daa4423 
					 
					
						
						
							
							Throw a query time error when a sort param is used but sort ranking rule is missing  
						
						
						
						
					 
					
						2021-09-07 11:02:00 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						8dca36433c 
					 
					
						
						
							
							Introduce the new SortRankingRuleMissing user error variant  
						
						
						
						
					 
					
						2021-09-07 11:01:59 +02:00 
						 
				 
			
				
					
						
							
							
								Alexey Shekhirin 
							
						 
					 
					
						
						
							
						
						0be09555f1 
					 
					
						
						
							
							test(search): asc/desc criteria for large datasets  
						
						
						
						
					 
					
						2021-09-03 18:00:08 +03:00 
						 
				 
			
				
					
						
							
							
								Alexey Shekhirin 
							
						 
					 
					
						
						
							
						
						c2517e7d5f 
					 
					
						
						
							
							fix(facet): string fields sorting  
						
						
						
						
					 
					
						2021-09-03 11:58:26 +03:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
						
						5cbe879325 
					 
					
						
						
							
							Merge  #308  
						
						... 
						
						
						
						308: Implement a better parallel indexer r=Kerollmops a=ManyTheFish
Rewrite the indexer:
- enhance memory consumption control
- optimize parallelism using rayon and crossbeam channel
- factorize the different parts and make new DB implementation easier
- optimize and fix prefix databases
Co-authored-by: many <maxime@meilisearch.com > 
						
						
					 
					
						2021-09-02 15:03:52 +00:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						741a4444a9 
					 
					
						
						
							
							Remove log in chunk generator  
						
						
						
						
					 
					
						2021-09-02 16:57:46 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						7f7fafb857 
					 
					
						
						
							
							Make document_chunk_size settable from update builder  
						
						
						
						
					 
					
						2021-09-02 15:25:39 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						db0c681bae 
					 
					
						
						
							
							Fix Pr comments  
						
						
						
						
					 
					
						2021-09-02 15:17:52 +02:00 
						 
				 
			
				
					
						
							
							
								Clémentine Urquizar 
							
						 
					 
					
						
						
							
						
						285849e3a6 
					 
					
						
						
							
							Update version for the next release (v0.12.0)  
						
						
						
						
					 
					
						2021-09-02 10:08:41 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						4860fd4529 
					 
					
						
						
							
							Ignore empty facet values  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						b3a22f31f6 
					 
					
						
						
							
							Fix memory consuption in word pair proximity extractor  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						9452fabfb2 
					 
					
						
						
							
							Optimize cbo roaring bitmaps merge  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						8f702828ca 
					 
					
						
						
							
							Ignore errors comming from crossbeam channel senders  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						e09eec37bc 
					 
					
						
						
							
							Handle distance addition with hard separators  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						fc7cc770d4 
					 
					
						
						
							
							Add logging timers  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						a2f59a28f7 
					 
					
						
						
							
							Remove unwrap sending errors in channel  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						5c962c03dd 
					 
					
						
						
							
							Fix and optimize word_prefix_pair_proximity_docids database  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						2d1727697d 
					 
					
						
						
							
							Take stop word in account  
						
						
						
						
					 
					
						2021-09-01 16:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						823da19745 
					 
					
						
						
							
							Fix test and use progress callback  
						
						
						
						
					 
					
						2021-09-01 16:48:39 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						1d314328f0 
					 
					
						
						
							
							Plug new indexer  
						
						
						
						
					 
					
						2021-09-01 16:48:36 +02:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						3aaf1d62f3 
					 
					
						
						
							
							Publish grenad CompressionType type in milli  
						
						
						
						
					 
					
						2021-09-01 16:42:08 +02:00 
						 
				 
			
				
					
						
							
							
								Alexey Shekhirin 
							
						 
					 
					
						
						
							
						
						0e379558a1 
					 
					
						
						
							
							fix(search): get sortable_fields only if criteria present  
						
						
						
						
					 
					
						2021-08-31 21:35:41 +03:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
						
						d6bba0663a 
					 
					
						
						
							
							Merge  #334  
						
						... 
						
						
						
						334: Wrap long values into BStr for warn logs r=Kerollmops a=shekhirin
Resolves https://github.com/meilisearch/milli/issues/263 
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com > 
						
						
					 
					
						2021-08-31 17:38:54 +00:00 
						 
				 
			
				
					
						
							
							
								Alexey Shekhirin 
							
						 
					 
					
						
						
							
						
						0b02eb456c 
					 
					
						
						
							
							chore(update): wrap long values into BStr for warn logs  
						
						
						
						
					 
					
						2021-08-31 20:28:16 +03:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						f230ae6fd5 
					 
					
						
						
							
							Introduce the reset_sortable_fields Settings method  
						
						
						
						
					 
					
						2021-08-25 17:44:16 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						af65485ba7 
					 
					
						
						
							
							Reexport the grenad CompressionType from milli  
						
						
						
						
					 
					
						2021-08-24 18:15:31 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						f2e1591826 
					 
					
						
						
							
							Remove the unused tinytemplate dependency  
						
						
						
						
					 
					
						2021-08-24 18:10:58 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						2f20257070 
					 
					
						
						
							
							Update milli to the v0.11.0  
						
						
						
						
					 
					
						2021-08-24 18:10:11 +02:00 
						 
				 
			
				
					
						
							
							
								Clément Renault 
							
						 
					 
					
						
						
							
						
						89d0758713 
					 
					
						
						
							
							Revert "Revert "Sort at query time""  
						
						
						
						
					 
					
						2021-08-24 11:55:16 +02:00 
						 
				 
			
				
					
						
							
							
								Clémentine Urquizar 
							
						 
					 
					
						
						
							
						
						88f6c18665 
					 
					
						
						
							
							Update version for the next release (v0.10.2)  
						
						
						
						
					 
					
						2021-08-23 11:33:30 +02:00 
						 
				 
			
				
					
						
							
							
								Clément Renault 
							
						 
					 
					
						
						
							
						
						c084f7f731 
					 
					
						
						
							
							Fix the facet string docids filterable deletion bug  
						
						
						
						
					 
					
						2021-08-23 10:50:39 +02:00 
						 
				 
			
				
					
						
							
							
								Clémentine Urquizar 
							
						 
					 
					
						
						
							
						
						922f9fd4d5 
					 
					
						
						
							
							Revert "Sort at query time"  
						
						
						
						
					 
					
						2021-08-20 18:09:17 +02:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
						
						41fc0dcb62 
					 
					
						
						
							
							Merge  #309  
						
						... 
						
						
						
						309: Sort at query time r=Kerollmops a=Kerollmops
This PR:
 - Makes the `Asc/Desc` criteria work with strings too, it first returns documents ordered by numbers then by strings, and finally the documents that can't be ordered. Note that it is lexicographically ordered and not ordered by character, which means that it doesn't know about wide and short characters i.e. `a`, `丹`, `▲`.
 - Changes the syntax for the `Asc/Desc` criterion by now using a colon to separate the name and the order i.e. `title:asc`, `price:desc`.
 - Add the `Sort` criterion at the third position in the ranking rules by default.
 - Add the `sort_criteria` method to the `Search` builder struct to let the users define the `Asc/Desc` sortable attributes they want to use at query time. Note that we need to check that the fields are registered in the sortable attributes before performing the search.
 - Introduce a new `InvalidSortableAttribute` user error that is raised when the sort criteria declared at query time are not part of the sortable attributes.
 - `@ManyTheFish` introduced integration tests for the dynamic Sort criterion.
Fixes  #305 .
Co-authored-by: Kerollmops <clement@meilisearch.com >
Co-authored-by: many <maxime@meilisearch.com > 
						
						
					 
					
						2021-08-18 16:55:32 +00:00 
						 
				 
			
				
					
						
							
							
								many 
							
						 
					 
					
						
						
							
						
						d1df0d20f9 
					 
					
						
						
							
							Add integration test of SortBy criterion  
						
						
						
						
					 
					
						2021-08-18 16:21:51 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						1b7f6ea1e7 
					 
					
						
						
							
							Return a new error when the sort criteria is not sortable  
						
						
						
						
					 
					
						2021-08-18 15:04:07 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						71602e0f1b 
					 
					
						
						
							
							Add the sortable fields into the settings and in the index  
						
						
						
						
					 
					
						2021-08-18 15:04:07 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						407f53872a 
					 
					
						
						
							
							Add a sort_criteria method to the Search builder struct  
						
						
						
						
					 
					
						2021-08-18 15:04:07 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						687cd2e205 
					 
					
						
						
							
							Introduce the new Sort criterion and AscDesc enum  
						
						
						
						
					 
					
						2021-08-18 15:04:07 +02:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
						
						198c416bd8 
					 
					
						
						
							
							Merge  #312  
						
						... 
						
						
						
						312: Update milli version to v0.10.1 r=Kerollmops a=curquiza
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com > 
						
						
					 
					
						2021-08-18 12:08:04 +00:00 
						 
				 
			
				
					
						
							
							
								Clémentine Urquizar 
							
						 
					 
					
						
						
							
						
						6cb9c3b81f 
					 
					
						
						
							
							Update milli version to v0.10.1  
						
						
						
						
					 
					
						2021-08-18 13:46:27 +02:00 
						 
				 
			
				
					
						
							
							
								Clémentine Urquizar 
							
						 
					 
					
						
						
							
						
						42cf847a63 
					 
					
						
						
							
							Update tokenizer version to v0.2.5  
						
						
						
						
					 
					
						2021-08-18 13:37:41 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						5b88df508e 
					 
					
						
						
							
							Use the new Asc/Desc syntax everywhere  
						
						
						
						
					 
					
						2021-08-17 14:15:22 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						fcedff95e8 
					 
					
						
						
							
							Change the Asc/Desc criterion syntax to use a colon (:)  
						
						
						
						
					 
					
						2021-08-17 14:03:21 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						e9ada44509 
					 
					
						
						
							
							AscDesc criterion returns documents ordered by numbers then by strings  
						
						
						
						
					 
					
						2021-08-17 13:21:31 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						110bf6b778 
					 
					
						
						
							
							Make the FacetStringIter work in both, ascending and descending orders  
						
						
						
						
					 
					
						2021-08-17 11:18:40 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						22ebd2658f 
					 
					
						
						
							
							Introduce the EitherString/RevRange private aliases  
						
						
						
						
					 
					
						2021-08-17 10:47:15 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						7a5889bc5a 
					 
					
						
						
							
							Introduce the highest_reverse_iter private method  
						
						
						
						
					 
					
						2021-08-17 10:45:26 +02:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						ad0d311f8a 
					 
					
						
						
							
							Introduce the FacetStringLevelZeroRevRange struct  
						
						
						
						
					 
					
						2021-08-17 10:44:43 +02:00