« Return to Thread: Hits Problem

Hits Problem

by Ven Helsing :: Rate this Message:

Reply to Author | View in Thread

Dear All,
I want to get nubmber of hits by using DASL search. Where should i change in my query.

"<D:searchrequest xmlns:D =\"DAV:\" xmlns:S=\"http://jakarta.apache.org/slide/\">" +
                 "<D:basicsearch>" +
                     "<D:select>" +
                         "<D:prop>" +
                             "<D:getcontentlength/>" +
                             "<D:displayname/>" +
                             "<D:author/>" +
                         "</D:prop>" +
                     "</D:select>" +
                     "<D:from>" +
                         "<D:scope>" +
                             "<D:href>"+scope+"</D:href>"+
                             "<D:depth>infinity</D:depth>" +
                         "</D:scope>" +
                     "</D:from>" +
                     "<D:where>" +
                   
                     //Content Based Search
                     "<D:contains>"+query.ToLower()+"</D:contains>"+
                     "</D:where>" +
                 "</D:basicsearch>" +
             "</D:searchrequest>";

Thanks...

 « Return to Thread: Hits Problem