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 wrote:
> The other way could be to extend the SolrQueryParser to read a per field
> default operator in the solr config file. The
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 ju
--- On Fri, 3/25/11, Brian Lamb wrote:
> From: Brian Lamb
> Subject: Default operator
> To: solr-user@lucene.apache.org
> Date: Friday, March 25, 2011, 10:54 PM
> Hi all,
>
> I know that I can change the default operator in two ways:
>
> 1) <*solrQueryParser defaultOperator*="AND|OR"/>
> 2) A