RE: Queries difference
Alex, I think you want this: +city:London +city:Amsterdam +address:1_street +address:2_street Otis --- Alex Kiselevski <[EMAIL PROTECTED]> wrote: > > Thanks Morus > So if I understand right > If the seqond query is : > +city(London) +city(Amsterdam) +address(1_street) +address(2_street) > > Both queries have the same value ? > -Original Message- > From: Morus Walter [mailto:[EMAIL PROTECTED] > Sent: Monday, December 20, 2004 6:11 PM > To: Lucene Users List > Subject: Re: Queries difference > > > Alex Kiselevski writes: > > > > Hello, I want to know is there a difference between queries: > > > > +city(+London Amsterdam) +address(1_street 2_street) > > > > And > > > > +city(+London) +city(Amsterdam) +address(1_street) > +address(2_street) > > > I guess you mean city:(... and so on. > > The first query searches documents containing 'London' in city, > scoring > results also containing Amsterdam higher, and containing 1_street or > 2_street in address. The second query searches for documents > containing > both London and Amsterdam in city and 1_street and 2_street in > address. > Note the the + before London in the second query doesn't mean > anything. > > HTH > Morus > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > The information contained in this message is proprietary of Amdocs, > protected from disclosure, and may be privileged. > The information is intended to be conveyed only to the designated > recipient(s) > of the message. If the reader of this message is not the intended > recipient, > you are hereby notified that any dissemination, use, distribution or > copying of > this communication is strictly prohibited and may be unlawful. > If you have received this communication in error, please notify us > immediately > by replying to the message and deleting it from your computer. > Thank you. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Queries difference
Thanks Morus So if I understand right If the seqond query is : +city(London) +city(Amsterdam) +address(1_street) +address(2_street) Both queries have the same value ? -Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 6:11 PM To: Lucene Users List Subject: Re: Queries difference Alex Kiselevski writes: > > Hello, I want to know is there a difference between queries: > > +city(+London Amsterdam) +address(1_street 2_street) > > And > > +city(+London) +city(Amsterdam) +address(1_street) +address(2_street) > I guess you mean city:(... and so on. The first query searches documents containing 'London' in city, scoring results also containing Amsterdam higher, and containing 1_street or 2_street in address. The second query searches for documents containing both London and Amsterdam in city and 1_street and 2_street in address. Note the the + before London in the second query doesn't mean anything. HTH Morus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conveyed only to the designated recipient(s) of the message. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Queries difference
Alex Kiselevski writes: > > Hello, I want to know is there a difference between queries: > > +city(+London Amsterdam) +address(1_street 2_street) > > And > > +city(+London) +city(Amsterdam) +address(1_street) +address(2_street) > I guess you mean city:(... and so on. The first query searches documents containing 'London' in city, scoring results also containing Amsterdam higher, and containing 1_street or 2_street in address. The second query searches for documents containing both London and Amsterdam in city and 1_street and 2_street in address. Note the the + before London in the second query doesn't mean anything. HTH Morus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]