[Xapian-discuss] Does Xapian support retrieval optional?

Lu Zhen yifeng133 at gmail.com
Thu Oct 30 03:37:15 GMT 2014


Hi,

I've been using Xapian for a while. But there is a scene I don't know
whether supported already.

Suppose:
1. Raw query: how to make pizza
2. Parsed query: how AND to AND make AND pizza
3. Documents:
    d1: how to make pizza at home
    d2: 3 ways to make pizza
    d3: make pizza in 4 easy steps

Question:
1. During searching process, how to retrieve d2, d3 (although they don't
contain "how to")?
2. Even more, how to make sure the score of d1 is higher than d2 or d3
(because d1 does contain "how to")?

Many thanks


More information about the Xapian-discuss mailing list