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
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
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
: +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
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
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
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