Github user tnine commented on a diff in the pull request:
https://github.com/apache/incubator-usergrid/pull/112#discussion_r21200318
--- 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 --
I don't think we'll need to re-index old documents since we've already
stored them. This will only apply to new documents. Can we validate that this
default mapping is applied to existing types in ES? By default the mapping is
applied the first time the type is created in ES, we want to be sure it's
applied for existing types as well.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---