I found this question looking for the same. As it turned out, you can filter by comparison fields using a filter , especially frange and sub.
frange can take the lower bound l or the upper bound u , or both. The optional values incl and incu tell the filter if borders are on or not.
sub subtracts literal numbers or document fields.
So, the answer is to add a filter that only accepts documents where A minus B is greater than zero. Set the lower border to 0, lower the upper border and set incl to false to exclude the lowest border (to delete documents, where A == B)
fq={!frange l=0 incl=false}sub(A,B)
URL Encoded: fq=%7B!frange+l%3D0+incl%3Dfalse%7Dsub(A%2CB)
bibby source share