[Xapian-discuss] How term distance impacts the weight?

Olly Betts olly at survex.com
Tue Aug 2 05:28:02 BST 2011

On Tue, Aug 02, 2011 at 12:12:59AM +0800, Bruce Zhang wrote:
> I wonder how position used in query? how it impacts the weight of search?
> could anyone shed light on this?

Currently positional data is use for phrase searching, and for proximity
operators (NEAR and ADJ).

It's very likely someone will implement weighting based on proximity at
some point, but nobody has yet.

> Can I understand that position is more useful for Oriental language like
> Chinese, Japanese Korean than for Western Languages,
> because Oriental language need word segmentation?

I don't see why it would be inherently more useful there, though I don't
know any of those languages in great detail.


More information about the Xapian-discuss mailing list