Hello! You should set the q.op parameter in your request handler configuration in solrconfig.xml instead of using the default operator from schema.xml.
-- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > I'm testing out Solr 4.0. I got the sample schema working, so now I'm > converting my existing schema (from a Solr 3.4 instance), but I'm confused > as to what to do for the "defaultOperator" setting for the solrQueryParser > field. > For my existing Solr, I have: > <solrQueryParser defaultOperator="AND"/> > The 4.0 schema says that the defaultOperator field is deprecated, and seems > to suggest that I just pass it along in my queries. Is there no way I can > set it to AND by default somewhere else? I don't control all the > applications that use my Solr Indexes, and I want to ensure that they > operate with AND and not OR. > Thanks! > -- Chris