[Xapian-discuss] Proximity in Xapian?

Olly Betts olly at survex.com
Tue Dec 5 20:56:36 GMT 2006


On Tue, Dec 05, 2006 at 11:58:57AM +0500, Sharjeel Ahmed Qureshi wrote:
> I just went through the overview of Query Processing in Xapian ( 
> http://www.xapian.org/docs/overview.html & 
> http://www.xapian.org/docs/intro_ir.html ). According to the 
> documentation, Xapian does not incorporate Proximity based searching and 
> proximity based relevance.

This is mentioned in overview.html, for example here:

  Xapian::Query::OP_NEAR 	Return documents where the terms are with the
  specified distance of each other.
  Xapian::Query::OP_PHRASE 	Return documents where the terms are
  with the specified distance of each other and in the given order.

> My question is if positions are used for relevance during searching or
> are they only used for proximity based searching such as PHRASE or
> NEAR?

There's no proximity based relevance at present.

Cheers,
    Olly



More information about the Xapian-discuss mailing list