search for: querytext

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

Did you mean: query_text
2008 Dec 17
1
using ValueWeightPostingSource
Hi, I'm currently using PostingSource to add some weight over the result using a value. I didn'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...