: User Query: x1 x2
: Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b
: 
: In the standard handler the only way i saw how to make this work was:
: field:x1 field:x2 field:"x1 x2"!a^b
: 
: Now that i want to try the DisMax is there a way to implement this without
: having duplicate fields? i.e. since the fields and the terms are separated
: in the DisMax how do i achieve the same query ?

i'm not sure what you mean by "without duplicate fields" but assuming i 
understand your goal, this seems trivial...

        q = x1 x2
        qf = field
        pf = field^b
        ps = a


-Hoss

Reply via email to