I uploaded a schema.xml manualy with the defaultoperator configuration and it's working.
My problem is that my legacy application is huge and I can't go to all places to add the q.op parameter. The solrconfig.xml option should be an option. The q.op param defined in request handlers works with POST http calls? On Fri, Dec 11, 2015 at 2:26 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 12/11/2015 4:23 AM, Yago Riveiro wrote: >> How can I change the defaultoperator parameter through the schema API? > The default operator and default field settings in the schema have been > deprecated for quite some time, so I would imagine that you can't change > them with the schema API -- they shouldn't be there, so there's no need > to support the ability to change them. > Look into the q.op and df parameters, which can be defined in the > request handler definition (solrconfig.xml) or passed in with the query. > https://cwiki.apache.org/confluence/display/solr/The+Standard+Query+Parser#TheStandardQueryParser-StandardQueryParserParameters > Thanks, > Shawn