search for: postingquery

Displaying 1 result from an estimated 1 matches for "postingquery".

2008 Dec 17
1
using ValueWeightPostingSource
...dn't find any documentation on how to use it with the query so i link a query constructed using the posting source and a query made using the query parser with an AND operator : Xapian.Query queryText = parser.ParseQuery("test:" + textBox1.Text + " DS:1 DS:2"); Xapian.Query postingQuery = new Xapian.Query(new Xapian.ValueWeightPostingSource(database, (uint)ValueField.BestSell)); Xapian.Query query = new Xapian.Query(Xapian.Query.op.OP_AND, queryText, postingQuery); My first question is : Is this the right way to make the query ? And my second : My problem now is that it returns...