Skip to content

Commit

Permalink
search/bleve: remove default field
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed Jun 26, 2024
1 parent df79645 commit 5c15059
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion search/bleve/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func mixedTextMapping() *mapping.FieldMapping {
func constructIndexMapping() (mapping.IndexMapping, error) {
im := bleve.NewIndexMapping()
im.DefaultType = "song"
im.DefaultField = "title"

// create a mapping for our radio.Song type
sm := bleve.NewDocumentStaticMapping()
Expand Down

0 comments on commit 5c15059

Please sign in to comment.