Re: Can we search some mandatory words and some optional words in SOLR

2013-05-16 Thread Kamal Palei
Hi Hoss I was wondering between this two keys. Though they look similar, but result set differs. In 1st case I give key as +c +c++ +sip +( *tcl* perl "shell script") -"manual testing" -ss7 In 2nd case I give key as +c +c++ +sip +(*tcl* perl "shell script") -"manual testing" -ss7 Please note t

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-16 Thread Kamal Palei
Thanks Hoss, I modified accordingly. One more thing I observed, if I give search key as one of the below 1. +Java +mysql +php +(TCL Perl Selenium) -ethernet -switching -routing 2. +(TCL Perl Selenium) -ethernet -switching -routing 3. +(TCL Perl Selenium) It works as expected. Like if key is +(TCL

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-15 Thread Jack Krupansky
solr-user@lucene.apache.org Subject: Re: Can we search some mandatory words and some optional words in SOLR : +Java +mysql +php TCL Perl Selenium -ethernet -switching -routing that's missing one of the started requirements... : 2. Atleast one keyword out of* TCL Perl Selenium* should be pre

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-15 Thread Chris Hostetter
: +Java +mysql +php TCL Perl Selenium -ethernet -switching -routing that's missing one of the started requirements... : 2. Atleast one keyword out of* TCL Perl Selenium* should be present ...should be... +Java +mysql +php +(TCL Perl Selenium) -ethernet -switching -routing -Hoss

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-14 Thread Jack Krupansky
earch some mandatory words and some optional words in SOLR Thanks Jack Krupansky Your solution having key as* **+Java +mysql +php TCL Perl Selenium* worked nicely. If I have to extend it something like, I need to search all documents, those have 1. Mandatory Keywords present are *Java, MySql* 2. At

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-14 Thread Kamal Palei
Thanks Jack Krupansky Your solution having key as* **+Java +mysql +php TCL Perl Selenium* worked nicely. If I have to extend it something like, I need to search all documents, those have 1. Mandatory Keywords present are *Java, MySql* 2. Atleast one keyword out of* TCL Perl Selenium* should be pr

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-13 Thread Jack Krupansky
That's simply a standard, old-fashioned Lucene query: +Java +mysql +php TCL Perl Selenium And you can decide if "min should match" (mm) is 0, 1, 2, 3, etc. for the optional terms (TCL, Perl, Selenium) -- Jack Krupansky -Original Message- From: Kamal Palei Sent: Monday, May 13, 2013