You won't necessarily find both if those values are NOT in the particular document. If you have a document you know contains both but doesn't appear in your results list, consider using explainOther to see how the doc of interest is actually scored.
Best, Erick On Tue, Jan 12, 2016 at 1:54 AM, Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Hi all, > > looking at parsedquery_toString debug I have many fields, but there is one > that have this configuration: > > ((attr_search:8 attr_search:gb)~2^5.0) > > I hope to be right, but I expect to find a boost in both the values > matches. > Now, I don't understand why, even if both the terms matches, I don't see > the boost in the explain. > > <lst> > <bool name="match">true</bool> > <float name="value">0.10516781</float> > <str name="description">sum of:</str> > <arr name="details"> > <lst> > <bool name="match">true</bool> > <float name="value">0.06489531</float> > <str name="description"> > weight(attr_search:8 in 927) [EpriceSimilarity], result of: > </str> > <arr name="details">...</arr> > </lst> > <lst> > <bool name="match">true</bool> > <float name="value">0.040272504</float> > <str name="description"> > weight(attr_search:gb in 927) [EpriceSimilarity], result of: > </str> > <arr name="details">...</arr> > </lst> > </arr> > </lst> > > I suppose to find something like: attr_search:8^5 and attr_search:gb^5 in > the explain. > or something that tells I have both the matches so there is a boost > somewhere. > What's wrong in my assumption? What's I'm missing? > > > -- > Vincenzo D'Amore > email: v.dam...@gmail.com > skype: free.dev > mobile: +39 349 8513251