nit0906 commented on a change in pull request #489:
URL: https://github.com/apache/jackrabbit-oak/pull/489#discussion_r803851803
##########
File path:
oak-search/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexQueryCommonTest.java
##########
@@ -279,7 +279,7 @@ public void containsPathNum() throws Exception {
a.setProperty("name", "/segment1/segment2/segment3");
root.commit();
- String stmt = "//*[jcr:contains(., '/segment1/segment2')]";
+ String stmt = "//*[jcr:contains(., '\\\\/segment1\\\\/segment2')]";
Review comment:
I suppose Fabrizio's comment above regarding
FulltextIndex.rewriteQueryText(text) would handle this and user might not need
to escape in queries - right ?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]