Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
map the slug for elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
collin committed Sep 3, 2015
1 parent 9b8fdf3 commit ae5f3ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bulbs/sections/models.py
Expand Up @@ -28,6 +28,7 @@ class Section(Indexable):

class Mapping:
name = field.String(analyzer="autocomplete", fields={"raw": field.String(index="not_analyzed")})
slug = field.String(index="not_analyzed")
section_logo = ElasticsearchImageField()
query = field.Object(enabled=False)

Expand Down

0 comments on commit ae5f3ce

Please sign in to comment.