Hi, Thnx for the help.But its not fullfilled my requirement. for example my record is like id=121 ,name=sandy and desg=professional. Actually here default keyword is id If i do search like id:"121" and name:"sandy" it gives the result But when i search name:"sandy" and desg:"professional" it gives no result.
So it is searching based on default feild only not on remaining conditions. Please if u find any solution for this forward it to me. Erick Erickson wrote: > > Have you looked at: > > http://lucene.apache.org/java/docs/queryparsersyntax.html > > ?? > > Best > Erick > > On Fri, Jun 13, 2008 at 10:01 AM, sandyg <[EMAIL PROTECTED]> wrote: > >> >> Hi guys , >> I need ur help. >> I am working with lucene engine its very good. >> but I had some problem. >> like my document contains feilds like id , name , desg >> i need to search " id=1 and name=sandy and desg = manager " where i >> need >> documents which satisfies three conditions >> please help me if you have idea >> -- >> View this message in context: >> http://www.nabble.com/Multi-keyword-match-tp17824134p17824134.html >> Sent from the Lucene - Java Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Multi-keyword-match-tp17824134p17859500.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]