code: function elasticSearchBodyFromRecord (model, record) {
      // document to store in elastic search
      var body = {}
      // store data by default column name
      _.each(model.defaultColumns, defaultName => {
          body[defaultName] = record[defaultName]
      })
      // store action properties
      _.each(model.actions, (action, name) => {
          // set isAction property
          if (action.isProperty) {
              body[action.isProperty] = record[action.isProperty]
          }
          // set wasAction property
          if (action.wasProperty) {
              body[action.wasProperty] = record[action.wasProperty]
          }
      })
  
      return body
  }
docs: @function elasticSearchBodyFromRaw
  
  use raw data to build body - used for record action
  
  @param {ImmutableCoreModel} model
  @param {object} raw
  
  @returns {object}