database.h | database.h | |||
---|---|---|---|---|
skipping to change at line 164 | skipping to change at line 164 | |||
* cached) | * cached) | |||
* | * | |||
* - raise a Xapian::DatabaseError exception indicating that the | * - raise a Xapian::DatabaseError exception indicating that the | |||
* database is closed. | * database is closed. | |||
* | * | |||
* The reason for this behaviour is that otherwise we'd have to che ck | * The reason for this behaviour is that otherwise we'd have to che ck | |||
* that the database is still open on every method call on every | * that the database is still open on every method call on every | |||
* object associated with a Database, when in many cases they are | * object associated with a Database, when in many cases they are | |||
* working on data which has already been loaded and so they are ab le | * working on data which has already been loaded and so they are ab le | |||
* to just behave correctly. | * to just behave correctly. | |||
* | ||||
* This method was added in Xapian 1.1.0. | ||||
*/ | */ | |||
virtual void close(); | virtual void close(); | |||
/// Return a string describing this object. | /// Return a string describing this object. | |||
virtual std::string get_description() const; | virtual std::string get_description() const; | |||
/** An iterator pointing to the start of the postlist | /** An iterator pointing to the start of the postlist | |||
* for a given term. | * for a given term. | |||
* | * | |||
* @param tname The termname to iterate postings for. If th e | * @param tname The termname to iterate postings for. If th e | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
error.h | error.h | |||
---|---|---|---|---|
/** @file error.h | /** @file error.h | |||
* @brief Hierarchy of classes which Xapian can throw as exceptions. | * @brief Hierarchy of classes which Xapian can throw as exceptions. | |||
*/ | */ | |||
/* Warning: This file is generated by /data/home/olly/tmp/xapian-svn-snapsh ot/tags/1.2.9/xapian/xapian-core/generate-exceptions - do not modify direct ly! */ | /* Warning: This file is generated by /data/home/olly/tmp/xapian-svn-snapsh ot/tags/1.2.10/xapian/xapian-core/generate-exceptions - do not modify direc tly! */ | |||
/* Copyright (C) 2003,2004,2006,2007,2009 Olly Betts | /* Copyright (C) 2003,2004,2006,2007,2009 Olly Betts | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | |||
* published by the Free Software Foundation; either version 2 of the | * published by the Free Software Foundation; either version 2 of the | |||
* License, or (at your option) any later version. | * License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#error was not compiled with this flag. The settings must match or your | #error was not compiled with this flag. The settings must match or your | |||
#error program will not work correctly. | #error program will not work correctly. | |||
#endif | #endif | |||
#endif | #endif | |||
#endif | #endif | |||
/// The library was compiled with GCC's -fvisibility=hidden option. | /// The library was compiled with GCC's -fvisibility=hidden option. | |||
#define XAPIAN_ENABLE_VISIBILITY | #define XAPIAN_ENABLE_VISIBILITY | |||
/// The version of Xapian as a C string literal. | /// The version of Xapian as a C string literal. | |||
#define XAPIAN_VERSION "1.2.9" | #define XAPIAN_VERSION "1.2.10" | |||
/** The major component of the Xapian version. | /** The major component of the Xapian version. | |||
* E.g. for Xapian 1.0.14 this would be: 1 | * E.g. for Xapian 1.0.14 this would be: 1 | |||
*/ | */ | |||
#define XAPIAN_MAJOR_VERSION 1 | #define XAPIAN_MAJOR_VERSION 1 | |||
/** The minor component of the Xapian version. | /** The minor component of the Xapian version. | |||
* E.g. for Xapian 1.0.14 this would be: 0 | * E.g. for Xapian 1.0.14 this would be: 0 | |||
*/ | */ | |||
#define XAPIAN_MINOR_VERSION 2 | #define XAPIAN_MINOR_VERSION 2 | |||
/** The revision component of the Xapian version. | /** The revision component of the Xapian version. | |||
* E.g. for Xapian 1.0.14 this would be: 14 | * E.g. for Xapian 1.0.14 this would be: 14 | |||
*/ | */ | |||
#define XAPIAN_REVISION 9 | #define XAPIAN_REVISION 10 | |||
/// XAPIAN_HAS_BRASS_BACKEND Defined if the brass backend is enabled. | /// XAPIAN_HAS_BRASS_BACKEND Defined if the brass backend is enabled. | |||
#define XAPIAN_HAS_BRASS_BACKEND 1 | #define XAPIAN_HAS_BRASS_BACKEND 1 | |||
/// XAPIAN_HAS_CHERT_BACKEND Defined if the chert backend is enabled. | /// XAPIAN_HAS_CHERT_BACKEND Defined if the chert backend is enabled. | |||
#define XAPIAN_HAS_CHERT_BACKEND 1 | #define XAPIAN_HAS_CHERT_BACKEND 1 | |||
/// XAPIAN_HAS_FLINT_BACKEND Defined if the flint backend is enabled. | /// XAPIAN_HAS_FLINT_BACKEND Defined if the flint backend is enabled. | |||
#define XAPIAN_HAS_FLINT_BACKEND 1 | #define XAPIAN_HAS_FLINT_BACKEND 1 | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
weight.h | weight.h | |||
---|---|---|---|---|
skipping to change at line 98 | skipping to change at line 98 | |||
/// The number of relevant documents which this term indexes. | /// The number of relevant documents which this term indexes. | |||
Xapian::doccount reltermfreq_; | Xapian::doccount reltermfreq_; | |||
/// The length of the query. | /// The length of the query. | |||
Xapian::termcount query_length_; | Xapian::termcount query_length_; | |||
/// The within-query-frequency of this term. | /// The within-query-frequency of this term. | |||
Xapian::termcount wqf_; | Xapian::termcount wqf_; | |||
/// An lower bound on the maximum length of any document in the databas e. | /// A lower bound on the minimum length of any document in the database . | |||
Xapian::termcount doclength_lower_bound_; | Xapian::termcount doclength_lower_bound_; | |||
/// An upper bound on the maximum length of any document in the databas e. | /// An upper bound on the maximum length of any document in the databas e. | |||
Xapian::termcount doclength_upper_bound_; | Xapian::termcount doclength_upper_bound_; | |||
/// An upper bound on the wdf of this term. | /// An upper bound on the wdf of this term. | |||
Xapian::termcount wdf_upper_bound_; | Xapian::termcount wdf_upper_bound_; | |||
public: | public: | |||
class Internal; | class Internal; | |||
skipping to change at line 292 | skipping to change at line 292 | |||
/// The number of relevant documents which this term indexes. | /// The number of relevant documents which this term indexes. | |||
Xapian::doccount get_reltermfreq() const { return reltermfreq_; } | Xapian::doccount get_reltermfreq() const { return reltermfreq_; } | |||
/// The length of the query. | /// The length of the query. | |||
Xapian::termcount get_query_length() const { return query_length_; } | Xapian::termcount get_query_length() const { return query_length_; } | |||
/// The within-query-frequency of this term. | /// The within-query-frequency of this term. | |||
Xapian::termcount get_wqf() const { return wqf_; } | Xapian::termcount get_wqf() const { return wqf_; } | |||
/** An lower bound on the maximum length of any document in the databas e. | /** An upper bound on the maximum length of any document in the databas e. | |||
* | * | |||
* This should only be used by get_maxpart() and get_maxextra(). | * This should only be used by get_maxpart() and get_maxextra(). | |||
*/ | */ | |||
Xapian::termcount get_doclength_upper_bound() const { | Xapian::termcount get_doclength_upper_bound() const { | |||
return doclength_upper_bound_; | return doclength_upper_bound_; | |||
} | } | |||
/** An upper bound on the maximum length of any document in the databas | /** A lower bound on the minimum length of any document in the database | |||
e. | . | |||
* | ||||
* This bound does not include any zero-length documents. | ||||
* | * | |||
* This should only be used by get_maxpart() and get_maxextra(). | * This should only be used by get_maxpart() and get_maxextra(). | |||
*/ | */ | |||
Xapian::termcount get_doclength_lower_bound() const { | Xapian::termcount get_doclength_lower_bound() const { | |||
return doclength_lower_bound_; | return doclength_lower_bound_; | |||
} | } | |||
/** An upper bound on the wdf of this term. | /** An upper bound on the wdf of this term. | |||
* | * | |||
* This should only be used by get_maxpart() and get_maxextra(). | * This should only be used by get_maxpart() and get_maxextra(). | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added | |||