queryparser.h | queryparser.h | |||
---|---|---|---|---|
skipping to change at line 378 | skipping to change at line 378 | |||
* prefix is added). | * prefix is added). | |||
* | * | |||
* Note that the stemming algorithm is only applied to words in | * Note that the stemming algorithm is only applied to words in | |||
* probabilistic fields - boolean filter terms are never stemmed. | * probabilistic fields - boolean filter terms are never stemmed. | |||
*/ | */ | |||
void set_stemming_strategy(stem_strategy strategy); | void set_stemming_strategy(stem_strategy strategy); | |||
/// Set the stopper. | /// Set the stopper. | |||
void set_stopper(const Stopper *stop = NULL); | void set_stopper(const Stopper *stop = NULL); | |||
/** Set the default boolean operator. */ | /** Set the default operator. | |||
* | ||||
* This operator is used to combine non-filter query items when no | ||||
* explicit operator is used. | ||||
* | ||||
* The most useful values for this are OP_OR (the default) and OP_AND. | ||||
* OP_NEAR and OP_PHRASE can also be useful. | ||||
* | ||||
* So for example, 'weather forecast' is parsed as if it were 'weather | ||||
OR | ||||
* forecast' by default. | ||||
*/ | ||||
void set_default_op(Query::op default_op); | void set_default_op(Query::op default_op); | |||
/** Get the default boolean operator. */ | /** Get the current default operator. */ | |||
Query::op get_default_op() const; | Query::op get_default_op() const; | |||
/// Specify the database being searched. | /// Specify the database being searched. | |||
void set_database(const Database &db); | void set_database(const Database &db); | |||
/** Parse a query. | /** Parse a query. | |||
* | * | |||
* @param query_string A free-text query as entered by a user | * @param query_string A free-text query as entered by a user | |||
* @param flags Zero or more Query::feature_flag specifying | * @param flags Zero or more Query::feature_flag specifying | |||
* what features the QueryParser should support. Combine | * what features the QueryParser should support. Combine | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 13 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
#endif | #endif | |||
#ifdef _GLIBCXX_DEBUG | #ifdef _GLIBCXX_DEBUG | |||
#error You are compiling with _GLIBCXX_DEBUG defined, but the library | #error You are compiling with _GLIBCXX_DEBUG defined, but the library | |||
#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 | |||
/// The version of Xapian as a C string literal. | /// The version of Xapian as a C string literal. | |||
#define XAPIAN_VERSION "1.0.15" | #define XAPIAN_VERSION "1.0.16" | |||
/** 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 0 | #define XAPIAN_MINOR_VERSION 0 | |||
/** 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 15 | #define XAPIAN_REVISION 16 | |||
/// 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 | |||
/// XAPIAN_HAS_QUARTZ_BACKEND Defined if the quartz backend is enabled. | /// XAPIAN_HAS_QUARTZ_BACKEND Defined if the quartz backend is enabled. | |||
#define XAPIAN_HAS_QUARTZ_BACKEND 1 | #define XAPIAN_HAS_QUARTZ_BACKEND 1 | |||
/// XAPIAN_HAS_INMEMORY_BACKEND Defined if the inmemory backend is enabled. | /// XAPIAN_HAS_INMEMORY_BACKEND Defined if the inmemory backend is enabled. | |||
#define XAPIAN_HAS_INMEMORY_BACKEND 1 | #define XAPIAN_HAS_INMEMORY_BACKEND 1 | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||