Page 1 of 1

Advanced Search: files without a specific prop gr

PostPosted:Thu Mar 19, 2009 11:11 am
by ribizli
Hi,

maybe an XPath expert can answer my question:

Is it possible to write an XPath query which searches for documents haven\'t a specified property group attached to it?

I mean the opposite of:
Code: Select all
/jcr:root/okm:root//element(*, okg:test)
Thanks in advance.

Re:Advanced Search: files without a specific prop gr

PostPosted:Mon Apr 27, 2009 7:39 am
by ribizli
Is it possible to do the query above?

Re:Advanced Search: files without a specific prop gr

PostPosted:Wed Apr 29, 2009 10:38 am
by jllort
You want a negative query result, element that has not some property.

Now on normal user UI is not possible, in administrator search option it\'s possible doing directly xpath queries.

I think xpath queries on normal UI view are so complicated to do there for major users. But it coul be implemented something there too.

Re:Advanced Search: files without a specific prop gr

PostPosted:Wed Apr 29, 2009 11:45 am
by ribizli
Yes, what I need is a negative xpath query, but I\'m not familiar with xpath (only for administration purposes). Could you give some hints?