[Xapian-devel] About search priority based on field

Olly Betts olly at survex.com
Mon May 2 09:35:31 BST 2011


On Fri, Apr 29, 2011 at 03:35:06PM +0800, Scott Zhang wrote:
>     I used lucene and solr in last 3 years. Recently I want to add
> search in my desktop C++ application on windows. CLucene is hard to
> compile using mingw, took my whole day without success. Xapian took my
> whole day either but at last I got it compiled. It works fine.

Hmm, I'd have hoped Xapian would compile cleanly with mingw - it
certainly used to.  What were the issues?  It would be good to
patch them up.

>   Is it possible to search over all field by give priority Title >
> Author > Publisher?

Yes, see:

http://trac.xapian.org/wiki/FAQ/ExtraWeight

Cheers,
    Olly



More information about the Xapian-devel mailing list