Re: Syntax Problem

Aslam Bari <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Sorry ,
  I wrote wrong. It must be "anil" instead of "vijay". By the way my 
problem has solved. But i have a different king of problem. If you can 
help me, i will be thankful to you.
  1. I want to get Ducument Hits by using DASL query(slide 2.2).
  2. If a user add a property(Custom) runtime, it should be 
automatically indexed. and used in Search.

  Thanks...




Marco Ferretti wrote:
> 
> Hi,
> 
> I'm basing my reply on what you wrote : the text "anil kumar sharma
> shree" does *not* contain "vijay" , so the result is ok .... unless
> there are files that contain
> "vijay", "kumar" and "shree" in your repository .
> 
> 
> Cheers
> 
> Marco
> 
> 
> On 8/16/06, aslam bari <[email protected]> wrote:
>> Dear all,
>>   In my slide store a file is stored. It contains text "anil kumar sharma
>> shree". Now when i search using DASL query for the any phrase using
>> <D:or> , it gives me result. But why <D:and> not gives the result. My
>> Syntax it that.
>>
>>   "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n" +
>>   "<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>" + "/slide/files" + "</D:href>" +
>>   "<D:depth>infinity</D:depth>" +
>>   "</D:scope>" +
>>   "</D:from>" +
>>   "<D:where>" +
>>   "<D:and>"+
>>   "<D:contains>vijay</D:contains>"+
>>   "<D:contains>kumar</D:contains>"+
>>   "<D:contains>shree</D:contains>" +
>>   "</D:and>" +
>>   "</D:where>" +
>>   "</D:basicsearch>" +
>>   "</D:searchrequest>";
>>
>>   The above query does not gives me result, though it must give.
>>
>>   Help plz.
>>
>>
>>
>> ---------------------------------
>>  Here's a new way to find what you're looking for - Yahoo! Answers
>> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
>> Get it NOW
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Syntax-Problem-tf2114676.html#a5831374
Sent from the Jakarta Slide - User forum at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.