Actually index post_id in tantivy
Otherwise you can't remove/edit a document
This commit is contained in:
		
							parent
							
								
									39deede935
								
							
						
					
					
						commit
						d6e220cc8d
					
				| @ -47,7 +47,7 @@ impl Searcher { | ||||
| 
 | ||||
|         let mut schema_builder = SchemaBuilder::default(); | ||||
| 
 | ||||
|         schema_builder.add_i64_field("post_id", INT_STORED ); | ||||
|         schema_builder.add_i64_field("post_id", INT_STORED | INT_INDEXED); | ||||
|         schema_builder.add_i64_field("creation_date", INT_INDEXED); | ||||
| 
 | ||||
|         schema_builder.add_text_field("instance", tag_indexing.clone()); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user