this is actually a special function that elasticsearch calls on a model each time it is saved. so if we ever want to change what's indexed, we need to update this.