42 double distance = (*metric)(centre, doccoords);
The Xapian namespace contains public interfaces for the Xapian library.
std::string sortable_serialise(double value)
Convert a floating point number to a string, preserving sort order.
Geospatial search support routines.
std::string operator()(const Xapian::Document &doc) const
Build a key string for a Document.
~LatLongDistanceKeyMaker()
A sequence of latitude-longitude coordinates.
API for working with documents.
void unserialise(const std::string &serialised)
Unserialise a string and set this object to the coordinates in it.
std::string get_value(Xapian::valueno slot) const
Get value by number.
A handle representing a document in a Xapian database.
parsing a user query string to build a Xapian::Query object