about summary refs log tree commit diff stats
path: root/internal/index/indexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/index/indexer.go')
-rw-r--r--internal/index/indexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/index/indexer.go b/internal/index/indexer.go
index 4a6a9d8..3a146c3 100644
--- a/internal/index/indexer.go
+++ b/internal/index/indexer.go
@@ -104,7 +104,7 @@ func createIndexMapping() (mapping.IndexMapping, error) {
 
 	packageMapping := bleve.NewDocumentStaticMapping()
 
-	packageMapping.AddFieldMappingsAt("Name", keywordFieldMapping)
+	packageMapping.AddFieldMappingsAt("Attribute", keywordFieldMapping)
 	packageMapping.AddFieldMappingsAt("Source", keywordFieldMapping)
 	packageMapping.AddFieldMappingsAt("Description", textFieldMapping)
 	packageMapping.AddFieldMappingsAt("MainProgram", keywordFieldMapping)