Re: Solr query with mandatory values

2012-05-09 Thread Li Li
e.apache.org/core/3_6_0/queryparsersyntax.html >> >> Note - Based on the info on these pages I believe the "+" symbol is to be >> placed just before the mandatory value, not before the field name in the >> query. >> >> Matt Kuiper >> Intelligent Sof

Re: Solr query with mandatory values

2012-05-09 Thread Li Li
e the field name in the > query. > > Matt Kuiper > Intelligent Software Solutions > > -Original Message- > From: G.Long [mailto:jde...@gmail.com] > Sent: Wednesday, May 09, 2012 10:45 AM > To: solr-user@lucene.apache.org > Subject: Solr query with mandatory values

RE: Solr query with mandatory values

2012-05-09 Thread Matt Kuiper
l is to be placed just before the mandatory value, not before the field name in the query. Matt Kuiper Intelligent Software Solutions -Original Message- From: G.Long [mailto:jde...@gmail.com] Sent: Wednesday, May 09, 2012 10:45 AM To: solr-user@lucene.apache.org Subject: Solr query with

Solr query with mandatory values

2012-05-09 Thread G.Long
Hi :) I remember that in a Lucene query, there is something like mandatory values. I just have to add a "+" symbol in front of the mandatory parameter, like: +myField:my value I was wondering if there was something similar in Solr queries? Or is this behaviour activated by default? Gary