Browse code

add indexes to gateway post ids

devnewton authored on 20/11/2017 19:21:12
Showing 1 changed files
... ...
@@ -1,12 +1,16 @@
1 1
 package im.bci.jb3.bouchot.data;
2 2
 
3
+import org.springframework.data.mongodb.core.index.Indexed;
4
+
3 5
 /**
4 6
  *
5 7
  * @author devnewton <devnewton@bci.im>
6 8
  */
7 9
 public class GatewayPostId {
8 10
 
11
+    @Indexed
9 12
     private String gateway;
13
+    @Indexed
10 14
     private String postId;
11 15
 
12 16
     public String getGateway() {