Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DAM のファイル サイズに基づいて検索を並べ替えるにはどうすればよいですか。私はこれを試していますが、おそらく dam:size が文字列であるため、並べ替えが機能していないようです:
type=dam:Asset path=/content/dam/<my_project> nodename=*.pdf orderby=@jcr:content/metadata/dam:size orderby.sort=desc
XPath を使用すると、次のように実行できます。 /jcr:root/content/dam/<site>//element(*,dam:Asset) order by jcr:content/metadata/@dam:size descending
/jcr:root/content/dam/<site>//element(*,dam:Asset) order by jcr:content/metadata/@dam:size descending