Closed Bug 1237290 Opened 10 years ago Closed 10 years ago

[Super Search Fields] Avoid using groovy when updating fields

Categories

(Socorro Graveyard :: Middleware, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

References

Details

Attachments

(1 file)

The `update` method of SuperSearchFields is the only place where we use groovy, via the `script` feature of Elasticsearch. For some reason we cannot keep groovy enabled in our clusters, resulting on incapacity to update fields. We can avoid using groovy by making our code slightly complex when there is an update to the storage mapping, but I think it's worth it. Also, I'll optimize the code while I'm at it.
Blocks: 1236064
Blocks: 1021464
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/a8b36e0d783d6a15359e36f3a8baf32c1945e939 Fixes bug 1237290 - Avoid using Groovy with Elasticsearch when updating a field. r=peterbe
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: