To do this you specify the slop on each field when you specify the pf/pf2/pf3 parameters: pf:fieldA~2 fieldB~5
I'll try to add an example to the documentation here: https://lucene.apache.org/solr/guide/7_6/the-extended-dismax-query-parser.html#using-slop Elizabeth On Wed, Jan 23, 2019 at 10:30 PM Yasufumi Mizoguchi <yasufumi0...@gmail.com> wrote: > Hi, > > I am struggling to set per-field slop param in eDisMax query parser with > Solr 6.0 and 7.6. > What I want to do with eDixMax is similar to following in the default query > parser. > > * Query string : "aaa bbb" > * Target fields : fieldA(TextField), fieldB(TextField) > > q=fieldA:"aaa bbb"~2 OR fieldB:"aaa bbb"~5 > > Anyone have good ideas? > > Thanks, > Yasufumi. >