Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi All,
There are multiple pages in author under /content. Suppose each page has a property as below :
Name Type Value
Custom String[] old:asdf,old:qwer,new:hjkl
NOTE : There are hundreds of property values which starts with "old:" notation
Suppose, I want to find out all the pages, which has old:xxx[where xxx represents some value present]
as a value in 'Custom' property.
Probably a query[JCR/Xpath/SQL/SQL2 has to be run to find this out]. Not sure which one is the most efficient here.
Can you please provide me with the query that can be used to find out the results.
Any thoughts on this will be really helpful.
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
SQL2:
SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE('/content') AND Custom = 'old:xxx'
Zugriffe
Antworten
Likes gesamt
SQL2:
SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE('/content') AND Custom = 'old:xxx'
Zugriffe
Antworten
Likes gesamt
Hi Jura,
Thank you for your reply.
Zugriffe
Antworten
Likes gesamt
Hi All,
Can you please let me know which is more efficient of the below two queries.
SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE('/content') AND CONTAINS(Custom, 'old:')
SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE('/content') AND Custom like 'old:%'
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten