My bet would be that <d:lockdiscovery/> is a calculated property, and thus it's not indexed by Lucene, which makes it impossible to do dasl searches with a criterium for this property.

[EMAIL PROTECTED] wrote:
Hi Hippo addicts ! :)


I have a strange problem when I try to use the dav:lockdiscovery property like criteria in the search engine. Dasl queries seems problematic too.

First, here the filter I made to search if a value (in this case a user : "root") is contained in the lockdiscovery prop.

 <filter id="selectUserLockedBy">
      <input-value type="user-specified" id="userLockedBy"/>
      <operator name="like" field="dav_lockdiscovery"/>
      <!--operator name="exist" field="dav_lockdiscovery"/-->
      <!--operator name="like" field="cms_createdBy"/-->
    </filter>


Here's the value of the propertiy "lockdiscovery" :

<D:activelock xmlns:D="DAV:">
                        <D:locktype>
                            <D:write/>
                        </D:locktype>
                        <D:lockscope>
                            <D:exclusive/>
                        </D:lockscope>
                        <D:depth>0</D:depth>
                        <D:owner><![CDATA[root]]></D:owner>
                        <D:timeout>Infinite</D:timeout>
                        <D:locktoken>
 <D:href>opaquelocktoken:ee78578a3c8b60dd8f13c73c6e35b074</D:href>
                        </D:locktoken>
                        <D:principal-URL>
                            <D:href>/socsec/users/root</D:href>
                        </D:principal-URL>
                    </D:activelock>



The value selected is root, but there is no result for this operation. When I try anothers properties (look comments) that's works well.


The problem appears in a Dasl query too : <d:eq/><d:like/><d:contains/><s:propcontains/>...

Nothing works with lockdiscovery contrary to others props.


Is there a way to pass through this problem ? Or any idea ?

Thank you for your responses

Regards.

_______________
JC Duchaussee WCMTech
          PI 716
--------------------------
______________________________________________________________________________________________
Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in geen geval een erkenning van welkdanige aansprakelijkheid in. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Smals décline toute responsabilité quant à l'exactitude, à l'exhaustivité et au délai de transmission des informations contenues dans cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle qu'elle soit. Ce message s'adresse uniquement au destinataire. Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message. ********************************************
Hippocms-dev: Hippo CMS development public mailinglist

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to