Skip to content

Commit

Permalink
Do not store the fulltext values in the index, we do not use them anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed May 19, 2023
1 parent 6275b7b commit 9562bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/search/pkg/engine/bleve.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func BuildBleveMapping() (mapping.IndexMapping, error) {

fulltextFieldMapping := bleve.NewTextFieldMapping()
fulltextFieldMapping.Analyzer = "fulltext"
fulltextFieldMapping.Store = false
fulltextFieldMapping.IncludeInAll = false

docMapping := bleve.NewDocumentMapping()
Expand Down

0 comments on commit 9562bcf

Please sign in to comment.