[Xapian-discuss] indexing and sorting by value in python

mark markkicks at gmail.com
Sat Aug 16 03:51:49 BST 2008


i want to add values (For ex pricing, number_comments etc) to the document.

can you explain what 0 is here? and what is price?

Xapian::Document doc;
doc.add_value(0, Xapian::sortable_serialise(price));


when I am searching, how do i specify these sorting properties?



thanks a lot!!!



More information about the Xapian-discuss mailing list