diff --git a/src/main/java/org/jbake/app/ContentStore.java b/src/main/java/org/jbake/app/ContentStore.java index fee087da5..0e26344bd 100644 --- a/src/main/java/org/jbake/app/ContentStore.java +++ b/src/main/java/org/jbake/app/ContentStore.java @@ -245,7 +245,7 @@ private void createDocType(final OSchema schema, final String doctype) { OClass page = schema.createClass(doctype); page.createProperty(String.valueOf(DocumentAttributes.SHA1), OType.STRING).setNotNull(true); - page.createIndex(doctype + "sha1Index", OClass.INDEX_TYPE.UNIQUE, DocumentAttributes.SHA1.toString()); + page.createIndex(doctype + "sha1Index", OClass.INDEX_TYPE.NOTUNIQUE, DocumentAttributes.SHA1.toString()); page.createProperty(String.valueOf(DocumentAttributes.SOURCE_URI), OType.STRING).setNotNull(true); page.createIndex(doctype + "sourceUriIndex", OClass.INDEX_TYPE.UNIQUE, DocumentAttributes.SOURCE_URI.toString()); page.createProperty(String.valueOf(DocumentAttributes.CACHED), OType.BOOLEAN).setNotNull(true);