[Xapian-discuss] xapian queryparse whether to support the weight?
olly at survex.com
Sun Aug 25 01:53:53 BST 2013
On Fri, Aug 23, 2013 at 10:25:29AM +0800, ?????? wrote:
> query support xapian.Query.OP_SCALE_WEIGHT
> xapian.Query(xapian.Query.OP_SCALE_WEIGHT, query, weight)
> queryparse support SCALE_WEIGHT ?
Not explicitly (i.e. there isn't a syntax the user can use which maps to
OP_SCALE_WEIGHT), though you can apply OP_SCALE_WEIGHT to the Query
object returned by the QueryParser, e.g. to scale the parsed Query
relative before combining it with other Query objects.
More information about the Xapian-discuss