Kamal

You could also use the 'mm' parameter to require a minimum match, or you could 
prepend '+' to each required term.

Cheers

François


On May 13, 2013, at 7:57 AM, Kamal Palei <palei.ka...@gmail.com> wrote:

> Hi Rafał Kuć
> I added q.op=AND as per you suggested. I see though some initial record
> document contains both keywords (*java* and *mysql*), towards end I see
> still there are number of
> documents, they have only one key word either *java* or *mysql*.
> 
> Is it the SOLR behaviour or can I ask for a *strict search only if all my
> keywords are present, then only* *fetch record* else not.
> 
> BR,
> Kamal
> 
> 
> 
> On Mon, May 13, 2013 at 4:02 PM, Rafał Kuć <r....@solr.pl> wrote:
> 
>> Hello!
>> 
>> Change  the  default  query  operator. For example add the q.op=AND to
>> your query.
>> 
>> --
>> Regards,
>> Rafał Kuć
>> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch
>> 
>>> Hi SOLR Experts
>>> When I search documents with keyword as *java, mysql* then I get the
>>> documents containing either *java* or *mysql* or both.
>> 
>>> Is it possible to get the documents those contains both *java* and
>> *mysql*.
>> 
>>> In that case, how the query would look like.
>> 
>>> Thanks a lot
>>> Kamal
>> 
>> 

Reply via email to