Thank you both for your input. I ended up using Ahmet's way because it seems to fit better with the rest of the application.
On Sat, Mar 26, 2011 at 6:02 AM, lboutros <boutr...@gmail.com> wrote: > The other way could be to extend the SolrQueryParser to read a per field > default operator in the solr config file. Then it should be possible to > override this functions : > > setDefaultOperator > getDefaultOperator > > and this two which are using the default operator : > > getFieldQuery > addClause > > The you just have to declare it in the solr config file and configure your > default operators. > > Ludovic. > > > > ----- > Jouve > France. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Default-operator-tp2732237p2734931.html > Sent from the Solr - User mailing list archive at Nabble.com. >