Aman, You can invoke Terms Component for the filed M, let it returns terms: {a,c,d,f} then you invoke it for field T let it return {b,c,f,e}, then you intersect both lists (it's quite romantic if they are kept ordered), you've got {c,f} and then you applies filter: fq=-((+M:c +T:c) (+M:f +T:f)) etc
On Thu, Oct 8, 2015 at 8:29 AM, Aman Tandon <amantandon...@gmail.com> wrote: > Hi, > > Is there a way in solr to remove all those documents from the search > results in which two of the fields, *mapping* and *title* is the exactly > same. > > With Regards > Aman Tandon > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>