Hi Spring, If I got your question correctly, you want to search for Folders/Docs depending on the condition, right! Why don't you index the folder name as well and so you could fire a query saying Folder:A and (TEXT:x and TEXT:y) So here the search would run only on folder A for the keywords.
In case you only want to search for docs in folder A you could run a search only on the indexed 'Folder' field. i.e. Folder:A Hope this solves the problem. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw............ On Sun, Oct 12, 2008 at 11:41 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > I want to search for sets of documents. For instance I index some folders > with documents in it and now I do not want to find certain documents but > folders. > > Sample: > > folder A > doc 1, contains X, Y > doc 2, contains Y, Z > > folder B > doc 3, contains X, Y > doc 4, contains A, Z > > Now I want to find all folders which match "A AND Y" -> folder B. > > How can this be done? > > Thank you > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >