Make email case insensitive in ES

NEW
Unassigned

Status

Socorro
General
10 months ago
10 months ago

People

(Reporter: peterbe, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 months ago
Let's store the email field in a way that we can querying case INsensitively. 
We don't need the default "Text" analyzer because we'll only ever query by the whole email address. I.e. I don't think we're interested in finding crashes sent by "peter".
(Reporter)

Comment 1

10 months ago
As discussed, here's a sample implementation for another field
https://github.com/mozilla-services/socorro/blob/09f0c570bfc6053f5da26feaac645a4bd17c5e9a/socorro/external/es/index_creator.py#L16

Going make this depend on ES 5.
Depends on: 1322630
Blocks: 1376335
You need to log in before you can comment on or make changes to this bug.