Created
February 12, 2015 17:47
-
-
Save steveyen/4bec4283d97e493be2c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
author := bleve.NewTextFieldMapping() // Alias lastModifierName as author. | |
author.Name = "author" | |
author.Analyzer = "en" | |
m.AddFieldMappingsAt("lastModifierName", author) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment