be careful to use propcontains and not property-contains. propcontains is in the slide namespace (which is "http://jakarta.apache.org/slide/";). Try with this :

String query =

"<D:searchrequest xmlns:D=\"DAV:\" xmlns:S=\"http://jakarta.apache.org/slide/\"; xmlns:u=\"http://any.domain/test/\";>" +

               "<D:basicsearch>" +

                   "<D:select>" +

                       "<D:prop>" +

                           "<D:displayname/>" +

                       "</D:prop>" +

                   "</D:select>" +

                   "<D:from>" +

                       "<D:scope>" +

                           "<D:href>/slide/files</D:href>" +

                           "<D:depth>infinity</D:depth>" +

                       "</D:scope>" +

                   "</D:from>" +

                   "<D:where>" +

                     "<S:propcontains>" +

                       "<D:prop><u:abstract/></D:prop>" +

                       "<D:literal>r*</D:literal>" +

                     "</S:propcontains>" +

                   "</D:where>" +

               "</D:basicsearch>" +

           "</D:searchrequest>";


regards,

Fabrice


Dongdong Chen wrote:

Hi All,

I attach Domain.xml which I configure.

The following is the DASL-Request

================================================

String query =

"<D:searchrequest xmlns:D=\"DAV:\" xmlns:S=\"http://jakarta.apache.org/slide/\"; xmlns:u=\"http://any.domain/test/\";>" +

                "<D:basicsearch>" +

                    "<D:select>" +

                        "<D:prop>" +

                            "<D:displayname/>" +

                        "</D:prop>" +

                    "</D:select>" +

                    "<D:from>" +

                        "<D:scope>" +

                            "<D:href>/slide/files</D:href>" +

                            "<D:depth>infinity</D:depth>" +

                        "</D:scope>" +

                    "</D:from>" +

                    "<D:where>" +

                      "<S:property-contains>" +

                        "<D:prop><u:abstract/></D:prop>" +

                        "<D:literal>r*</D:literal>" +

                      "</S:property-contains>" +

                    "</D:where>" +

                "</D:basicsearch>" +

            "</D:searchrequest>";

================================================

I put a file named recommendation.txt to slide server. There would be "displayname"=>recommendation.txt in this file's properties. But the response is blank.

PS: For the content index it is worked.

Thanks

Dongdong

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Fabrice Dewasmes
Responsable du domaine urbanisation des systèmes d'information
[EMAIL PROTECTED]
06.89.88.65.37
--
Open Wide
14 rue Gaillon
75002 PARIS
www.openwide.fr


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to