You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2022/03/23 09:45:00 UTC

[GitHub] [jackrabbit-oak] tihom88 commented on a change in pull request #523: OAK-9707: Don't fail oak-run indexing on invalid data

tihom88 commented on a change in pull request #523:
URL: https://github.com/apache/jackrabbit-oak/pull/523#discussion_r833054679



##########
File path: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneDocumentMaker.java
##########
@@ -278,8 +279,15 @@ protected boolean indexTypeOrderedFields(Document doc, String pname, int tag, Pr
                 f = new SortedDocValuesField(name,
                         new BytesRef(property.getValue(Type.BOOLEAN).toString()));
             } else if (tag == Type.STRING.tag()) {
-                f = new SortedDocValuesField(name,
-                        new BytesRef(property.getValue(Type.STRING)));
+                String stringValue = property.getValue(Type.STRING);
+                BytesRef bytesRef;

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org