Github user johnament commented on a diff in the pull request:

    https://github.com/apache/incubator-usergrid/pull/112#discussion_r21210325
  
    --- Diff: 
stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/IndexingUtils.java
 ---
    @@ -151,69 +151,99 @@ public static XContentBuilder 
createDoubleStringIndexMapping(
     
                     .startObject( type )
     
    +                    // don't store source object in ES 
    +                    .field("_source") 
    --- End diff --
    
    It looks like this branch would only be invoked if the index doesn't exist. 
 If you want to reapply mappings, you need to do something like
    
    ```
    esProvider.getClient().admin().indices().putMapping(new 
PutMappingRequest(indexName)
    .source(XContentBuilder));
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to