On 20/12/2013 07:31, anjan wrote:
> ... 
> What I also noticed is that when I run the below query also, I get all the
> files that are modified by "admin" user even though there is no text "admin"
> in the file content.  
> 
> select * from [nt:file] as t where contains(t.*,'*admin*').
>  ...

the jcr:content should contain the property jcr:lastModifiedBy that
could be admin. By specifying t.* in the contains you're looking up all
the properties therefore even jcr:lastModifiedBy.

Now, I'm not an expert and I can be wrong but this could be the reason
if I understood clear how it works.

Regards
Davide

Reply via email to