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

    https://github.com/apache/incubator-rya/pull/199#discussion_r132235567
  
    --- Diff: 
dao/mongodb.rya/src/main/java/org/apache/rya/mongodb/dao/SimpleMongoDBStorageStrategy.java
 ---
    @@ -64,14 +68,14 @@
         @Override
         public void createIndices(final DBCollection coll){
             BasicDBObject doc = new BasicDBObject();
    -        doc.put(SUBJECT, 1);
    -        doc.put(PREDICATE, 1);
    +        doc.put(SUBJECT_HASH, 1);
    +        doc.put(PREDICATE_HASH, 1);
             coll.createIndex(doc);
    --- End diff --
    
    @pujav65  Looking over this index creation code... this seems like a bug... 
where's the SPO index?  I think this first index should be SUBJECT_HASH, 
PREDICATE_HASH, OBJECT_HASH, OBJECT_TYPE_HASH


---
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