TextContentIndexer Problem

aslam bari <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.user,gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Dear All,
  I have used TextContentIndexer to Index my docs.It uses the TextContainsExpression Class for searching. When i am using DASL search for a single word like:-
  "<D:where>" +
  "<D:contains>ques</D:contains>"+
  
  
  "</D:where>" +
   
  It gives the result successfully. But if i want to give complex query it gives the exception like:-
  "<D:where>" +
  "<D:and>"+
  "<D:contains>ques</D:contains>"+
  "<D:contains>ques</D:contains>"+
  "</D:and>"+
  
  
  "</D:where>" +
   
  What is the problem.
  Thanks...
   

 				
---------------------------------
 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
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.