all repos — searchix @ 9b430ab18dc024058ea9c039fb64af0a3d5e3529

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor: remove unnecessary and incorrect bleve config option
Alan Pearce alan@alanpearce.eu
Thu, 16 May 2024 20:32:01 +0200
commit

9b430ab18dc024058ea9c039fb64af0a3d5e3529

parent

8b78a98af573a77a6d6aa6a0b231d4b657e35726

1 files changed, 0 insertions(+), 1 deletions(-)

jump to
M internal/index/indexer.gointernal/index/indexer.go
@@ -35,7 +35,6 @@ func createIndexMapping() (mapping.IndexMapping, error) { 	indexMapping := bleve.NewIndexMapping()
 	indexMapping.StoreDynamic = false
 	indexMapping.IndexDynamic = false
-	indexMapping.TypeField = "BleveType"
 
 	textFieldMapping := bleve.NewTextFieldMapping()
 	textFieldMapping.Store = false