[ Kindly do try before posting in the forum or atleast try to look into the wiki and other resources ]
nwayz... For the Former: use 'AND' and in the default query For the latter : use phrase queries - enclosing within double quotes should work. On 9/18/07, Dilip.TS <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have the following requirement: > When the user searches for the keyword say Java Programming , the user > should be shown the results satisfying the condition Java AND Programming. > But when he types "Java Programming" (i.e within double quotes), the user > should be shown with the results exactly matching Java Programming as a > single word (similar to doing a search on google). > The user should be shown with the proper results accordingly. > Any help would be highly appreciated. > > Thanks in advance, > > Regards, > Dilip TS > > --