[Xapian-discuss] a strange type of alias/expanded term
Olly Betts
olly at survex.com
Tue Oct 21 09:23:31 BST 2008
On Thu, Oct 16, 2008 at 10:58:56AM +0200, Andreas Marienborg wrote:
>
> On Oct 16, 2008, at 5:32 AM, Olly Betts wrote:
>
> > On Mon, Oct 13, 2008 at 03:56:23PM +0200, Andreas Marienborg wrote:
> >> is($q->get_description, '(jazz AND oslo AND D20081013)');
> >
> > This version is arguably slightly better since the date should act
> > as a
> > boolean filter term:
> >
> > ((jazz AND oslo) FILTER D20081013)
>
> True, the D will be a boolean-filter, so that would most likely be the
> end result?
When the D term isn't a boolean filter, it will add the same extra
weight contribution to every match. So the same ordering, but different
actual weights.
Cheers,
Olly
More information about the Xapian-discuss
mailing list