Kerollmops 
							
						 
					 
					
						
						
							
						
						5e6abcf50c 
					 
					
						
						
							
							Prefer using WithoutTls for the auth env  
						
						
						
						
					 
					
						2025-03-13 11:29:00 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						a4aaf932ba 
					 
					
						
						
							
							Fix some test (invalid anyway)  
						
						
						
						
					 
					
						2025-03-13 11:29:00 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						55ca2c4481 
					 
					
						
						
							
							Avoid opening the Auth environment multiple times  
						
						
						
						
					 
					
						2025-03-13 11:07:49 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						fedb444e66 
					 
					
						
						
							
							Fix the upgrade arroy calls  
						
						
						
						
					 
					
						2025-03-13 11:07:49 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						bef5954741 
					 
					
						
						
							
							Use a WithoutTls env  
						
						
						
						
					 
					
						2025-03-13 11:07:49 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						ff8cf38d6b 
					 
					
						
						
							
							Move to the latest version of arroy  
						
						
						
						
					 
					
						2025-03-13 11:07:48 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						566b4efb06 
					 
					
						
						
							
							Dumpless upgrade from v1.13 to v1.14  
						
						
						
						
					 
					
						2025-03-13 11:07:44 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						1d499ed9b2 
					 
					
						
						
							
							Use the new arroy upgrade method to move from 0.4 to 0.5  
						
						
						
						
					 
					
						2025-03-13 11:07:44 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						3bc62f0549 
					 
					
						
						
							
							WIP: Still need to introduce a Env::copy_to_path method  
						
						
						
						
					 
					
						2025-03-13 11:07:39 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						21bbbdec76 
					 
					
						
						
							
							Specify WithoutTls everywhere  
						
						
						
						
					 
					
						2025-03-13 11:07:38 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						78ebd8dba2 
					 
					
						
						
							
							Fix the error variants  
						
						
						
						
					 
					
						2025-03-13 11:07:38 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						34df44a002 
					 
					
						
						
							
							Open Env without TLS  
						
						
						
						
					 
					
						2025-03-13 11:07:38 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						48a27f669e 
					 
					
						
						
							
							Bump heed and other dependencies  
						
						
						
						
					 
					
						2025-03-13 11:07:37 +01:00 
						 
				 
			
				
					
						
							
							
								meili-bors[bot] 
							
						 
					 
					
						
						
							
						
						e2d0ce52ba 
					 
					
						
						
							
							Merge  #5384  
						
						... 
						
						
						
						5384: Get multiple documents by ids r=irevoire a=dureuill
# Pull Request
## Related issue
Fixes  #5345  
## What does this PR do?
- Implements [public usage](https://www.notion.so/meilisearch/Get-documents-by-ID-1994b06b651f805ba273e1c6b75ce4d8 )
- Slightly refactor error messages for the `/similar` route
Co-authored-by: Louis Dureuil <louis@meilisearch.com > 
						
						
					 
					
						2025-03-12 17:26:49 +00:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						60ff1b19a8 
					 
					
						
						
							
							Searching for a document that does not exist no longer raises an error  
						
						
						
						
					 
					
						2025-03-12 11:50:39 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						7df5e3f059 
					 
					
						
						
							
							Fix error message  
						
						... 
						
						
						
						Co-authored-by: Tamo <tamo@meilisearch.com > 
						
						
					 
					
						2025-03-12 11:48:40 +01:00 
						 
				 
			
				
					
						
							
							
								Kerollmops 
							
						 
					 
					
						
						
							
						
						0197dc87e0 
					 
					
						
						
							
							Make sure to delete useless prefixes  
						
						
						
						
					 
					
						2025-03-12 11:24:13 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						7a172b82ca 
					 
					
						
						
							
							Add test  
						
						
						
						
					 
					
						2025-03-12 11:22:59 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						eb3ff325d1 
					 
					
						
						
							
							Add an exhaustiveFacetCount field to the facet-search API  
						
						
						
						
					 
					
						2025-03-12 11:22:59 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						d3cd5ea689 
					 
					
						
						
							
							Check if the geo fields changed additionally to  the other faceted fields when reindexing facets  
						
						
						
						
					 
					
						2025-03-12 11:20:10 +01:00 
						 
				 
			
				
					
						
							
							
								Tamo 
							
						 
					 
					
						
						
							
						
						3ed43f9097 
					 
					
						
						
							
							add a failing test reproducing the bug  
						
						
						
						
					 
					
						2025-03-12 11:20:10 +01:00 
						 
				 
			
				
					
						
							
							
								meili-bors[bot] 
							
						 
					 
					
						
						
							
						
						a2a86ef4e2 
					 
					
						
						
							
							Merge  #5254  
						
						... 
						
						
						
						5254: Granular Filterable attribute settings r=ManyTheFish a=ManyTheFish
# Related
**Issue:** https://github.com/meilisearch/meilisearch/issues/5163 
**PRD:** https://meilisearch.notion.site/API-usage-Settings-to-opt-out-indexing-features-filterableAttributes-1764b06b651f80aba8bdf359b2df3ca8 
# Summary
Change the `filterableAttributes` settings to let the user choose which facet feature he wants to activate or not.
Deactivating a feature will avoid some database computation in the indexing process and save time and disk size.
# Example
`PATCH /indexes/:index_uid/settings`
```json
{
  "filterableAttributes": [
    {
      "patterns": [
        "cattos",
        "doggos.age"
      ],
      "features": {
        "facetSearch": false,
        "filter": {
          "equality": true,
          "comparison": false
        }
      }
    }
  ]
}
```
# Impact on the codebase
- Settings API:
  - `/settings`
  - `/settings/filterable-attributes`
  - OpenAPI 
  - may impact the LocalizedAttributesRules due to the AttributePatterns factorization
- Database:
  - Filterable attributes format changed
  - Faceted field_ids are no more stored in the database
  - FieldIdsMap has no more unexisting fields
- Search:
  - Search using filters
  - Facet search
  - `Attributes` ranking rule
  - Distinct attribute
  - Facet distribution
- Settings reindexing:
  - searchable
  - facet
  - vector
  - geo
- Document indexing:
  - searchable
  - facet
  - vector
  - geo
- Dump import
# Note for the reviewers
The changes are huge and have been split in different commits with a dedicated explanation, I suggest reviewing the commit 1by1
Co-authored-by: ManyTheFish <many@meilisearch.com > 
						
						
					 
					
						2025-03-12 09:00:43 +00:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						d500c7f625 
					 
					
						
						
							
							Add default deserialize value  
						
						
						
						
					 
					
						2025-03-11 17:55:49 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						ea7e299663 
					 
					
						
						
							
							Update has_changed_for_fields documentation  
						
						
						
						
					 
					
						2025-03-11 16:48:55 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						a370b467fe 
					 
					
						
						
							
							Merge MetadataBuilder::_new into MetadataBuilder::new  
						
						
						
						
					 
					
						2025-03-11 15:31:57 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						8790880589 
					 
					
						
						
							
							Fix clippy  
						
						
						
						
					 
					
						2025-03-11 15:22:39 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						7072fe9780 
					 
					
						
						
							
							Fix typos in comments and messages  
						
						
						
						
					 
					
						2025-03-11 15:22:00 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						fa8afc5cfd 
					 
					
						
						
							
							Style change after review  
						
						... 
						
						
						
						Co-authored-by: Tamo <tamo@meilisearch.com > 
						
						
					 
					
						2025-03-11 13:25:35 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						6d52c6e711 
					 
					
						
						
							
							Merge branch 'main' into granular-filterable-attributes  
						
						
						
						
					 
					
						2025-03-11 10:05:58 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						dfb8411647 
					 
					
						
						
							
							Revert "Remove filter pre-check"  
						
						... 
						
						
						
						This reverts commit b12ffd1356 
						
						
					 
					
						2025-03-11 09:48:30 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						6269f757ff 
					 
					
						
						
							
							Revert document creation in tests  
						
						
						
						
					 
					
						2025-03-10 18:35:10 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						40c5f911fd 
					 
					
						
						
							
							Revert metadata creation when computing the facet-distribution  
						
						
						
						
					 
					
						2025-03-10 17:05:41 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						abef655849 
					 
					
						
						
							
							Revert metadata creation when computing facet search and distinct  
						
						
						
						
					 
					
						2025-03-10 15:45:59 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						b12ffd1356 
					 
					
						
						
							
							Remove filter pre-check  
						
						
						
						
					 
					
						2025-03-10 14:29:45 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						c9a4c6ed96 
					 
					
						
						
							
							REvert metadata creation when computing filters at search time  
						
						
						
						
					 
					
						2025-03-10 14:29:44 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						aa32b719c7 
					 
					
						
						
							
							Add tests about experimentalness of the feature and fix existing  
						
						
						
						
					 
					
						2025-03-10 14:23:22 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						41d2b1e52b 
					 
					
						
						
							
							Analytics  
						
						
						
						
					 
					
						2025-03-10 14:23:07 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						54ee81bb09 
					 
					
						
						
							
							Make composite embedders experimental  
						
						
						
						
					 
					
						2025-03-10 14:22:47 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						689e69d6d2 
					 
					
						
						
							
							Take into account PR messages  
						
						
						
						
					 
					
						2025-03-10 13:46:33 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						9d9e0d4c54 
					 
					
						
						
							
							Add analytics  
						
						
						
						
					 
					
						2025-03-10 11:33:15 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						19c9caed39 
					 
					
						
						
							
							Fix tests  
						
						
						
						
					 
					
						2025-03-10 11:11:48 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						21c3b3957e 
					 
					
						
						
							
							tests: Change get_document_by_filter to fetch_documents  
						
						
						
						
					 
					
						2025-03-10 11:11:48 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						f292fc9ac0 
					 
					
						
						
							
							Add ids parameter to GET documents and POST documents/fetch  
						
						
						
						
					 
					
						2025-03-10 11:11:48 +01:00 
						 
				 
			
				
					
						
							
							
								Louis Dureuil 
							
						 
					 
					
						
						
							
						
						1d3c4642a6 
					 
					
						
						
							
							Don't use Deserr for ExternalDocumentId, instead convert to error afterward  
						
						
						
						
					 
					
						2025-03-10 11:11:48 +01:00 
						 
				 
			
				
					
						
							
							
								meili-bors[bot] 
							
						 
					 
					
						
						
							
						
						9a282be0a2 
					 
					
						
						
							
							Merge  #5393  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test suite / Tests on ubuntu-22.04 (push) Failing after 13s 
				
					
					
			 
		
			
				
	Test suite / Tests almost all features (push) Has been skipped 
				
					
					
			 
		
			
				
	Test suite / Test with Ollama (push) Failing after 11s 
				
					
					
			 
		
			
				
	Test suite / Test disabled tokenization (push) Has been skipped 
				
					
					
			 
		
			
				
	Test suite / Run tests in debug (push) Failing after 13s 
				
					
					
			 
		
			
				
	Test suite / Run Clippy (push) Successful in 15m20s 
				
					
					
			 
		
			
				
	Test suite / Run Rustfmt (push) Successful in 2m40s 
				
					
					
			 
		
			
				
	Run the indexing fuzzer / Setup the action (push) Failing after 1h10m55s 
				
					
					
			 
		
			
				
	Indexing bench (push) / Run and upload benchmarks (push) Has been cancelled 
				
					
					
			 
		
			
				
	Benchmarks of indexing (push) / Run and upload benchmarks (push) Has been cancelled 
				
					
					
			 
		
			
				
	Benchmarks of search for geo (push) / Run and upload benchmarks (push) Has been cancelled 
				
					
					
			 
		
			
				
	Benchmarks of search for songs (push) / Run and upload benchmarks (push) Has been cancelled 
				
					
					
			 
		
			
				
	Benchmarks of search for Wikipedia articles (push) / Run and upload benchmarks (push) Has been cancelled 
				
					
					
			 
		
			
				
	Test suite / Tests on macos-13 (push) Has been cancelled 
				
					
					
			 
		
			
				
	Test suite / Tests on windows-2022 (push) Has been cancelled 
				
					
					
			 
		
		
	 
 
	 
						
						5393: Bring back changes from v1.13.3 into main r=irevoire a=Kerollmops
Co-authored-by: Kerollmops <clement@meilisearch.com >
Co-authored-by: Kerollmops <Kerollmops@users.noreply.github.com >
Co-authored-by: Strift <lau.cazanove@gmail.com > 
						
						
					 
					
						2025-03-10 07:57:02 +00:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						ed1dcbe0f7 
					 
					
						
						
							
							Fix behavior change in the Attributes criterion  
						
						
						
						
					 
					
						2025-03-06 14:18:25 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						5ceddbda84 
					 
					
						
						
							
							Add the max_weight of the weight map if it's lacking  
						
						
						
						
					 
					
						2025-03-06 13:58:28 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						ca41ce3bbd 
					 
					
						
						
							
							Old indexer document addition now check if facet search is globally activated  
						
						
						
						
					 
					
						2025-03-06 11:43:42 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						8ec0c322ea 
					 
					
						
						
							
							Apply PR requests related to Refactor the FieldIdMapWithMetadata  
						
						
						
						
					 
					
						2025-03-06 11:42:53 +01:00 
						 
				 
			
				
					
						
							
							
								ManyTheFish 
							
						 
					 
					
						
						
							
						
						b88aa9cc76 
					 
					
						
						
							
							Rely on FieldIdMapWithMetadata in facet search and filters  
						
						
						
						
					 
					
						2025-03-05 18:22:12 +01:00