diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2018-08-04 16:23:03 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2018-08-04 16:23:03 -0700 |
commit | 86665e59f0269d1e41ac88fba41a9099c454be6a (patch) | |
tree | 19caf3a8e0c36230dfbe09f4be049d3f5b1dd308 /src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java | |
parent | 672c4709bba91cd58caacb47b006fb19bab646f6 (diff) |
Dropping ElasticSearch in favor a single data file
The entire dataset is fairly small (116 kB), so I'm dropping the
ElasticSearch cluster in favor of just writing the whole dataset into a
file in S3. This lambda will run every 15 minutes and the client side
will pull it down and filter the results.
Diffstat (limited to 'src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java')
-rw-r--r-- | src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java b/src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java index ebe852d..2a9a089 100644 --- a/src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java +++ b/src/main/java/com/p4square/groupsindexer/model/GroupSearchDocumentAdapter.java @@ -19,7 +19,6 @@ public class GroupSearchDocumentAdapter implements Function<GroupProfile, GroupS doc.setImageUrl(groupProfile.getImageUrl()); doc.setLeaderId(groupProfile.getMainLeader().getId()); doc.setLeaderName(groupProfile.getMainLeader().getFullName()); - doc.setLeaderEmail(groupProfile.getMainLeader().getEmail()); doc.setCurrentMembers(groupProfile.getCurrentMembers()); doc.setGroupCapacity(groupProfile.getGroupCapacity()); doc.setChildcareProvided(groupProfile.isChildcareProvided()); |