Page 1 of 1

search by file size

PostPosted:Wed Feb 03, 2010 5:54 am
by wangmj
enchance search function.
filesize. _________<=SIZE<=__________

Re: search by file size

PostPosted:Wed Feb 03, 2010 8:40 am
by jllort
Filtering by document size no ? greater, lower or between, that's the idea no ?

This filter it'll only runs with documents ( not in folders it'll so much deep query, not recomended ).

Re: search by file size

PostPosted:Sun Mar 07, 2010 4:54 am
by wangmj
I don't think so. search by file size seems like search by date,isn't it?
I find a way to resolve my problem. (xpath)

for example: (0~100K)
/jcr:root/okm:root//*[@jcr:primaryType eq 'okm:document' and @okm:content/okm:size>0 and @okm:content/okm:size<102400 ] /(@okm:author|@jcr:created)

Re: search by file size

PostPosted:Tue Mar 09, 2010 5:46 pm
by jllort
Ok,

It could be similar as date. I take note in our enhancements tracking system.

Re: search by file size

PostPosted:Wed Mar 10, 2010 12:39 am
by wangmj
thanks for you effectively work!