But the tests which passes min_wt i.e. "expandweights4" in
tests/api_anydb.cc works fine. Please can you explain this in detail ?


On Mon, Aug 26, 2013 at 10:59 AM, Olly Betts <notifications@github.com>wrote:

> In xapian-core/include/xapian/enquire.h:
>
> > @@ -1040,11 +1052,10 @@ class XAPIAN_VISIBILITY_DEFAULT Enquire {
> >  	 *  @exception Xapian::InvalidArgumentError  See class documentation.
> >  	 */
> >  	ESet get_eset(Xapian::termcount maxitems,
> > -			const RSet & omrset,
> > -			int flags = 0,
> > -			double k = 1.0,
> > -			const Xapian::ExpandDecider * edecider = 0,
> > -			double min_wt = 0.0) const;
> > +		      const RSet & omrset,
> > +		      int flags = 0,
> > +		      const Xapian::ExpandDecider * edecider = 0,
> > +		      double min_wt = 0.0) const;
>
> This is an incompatible API change - we should really provide an overload
> which takes k still, so that existing code which passes a value for min_wtwill still compile and work. Then we can mark the old form as deprecated,
> and remove it in 1.5.x.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/xapian/xapian/pull/24/files#r5971403>
> .
>