|
a/src/query/wasastringtoquery.h |
|
b/src/query/wasastringtoquery.h |
|
... |
|
... |
51 |
enum Op {OP_NULL, OP_LEAF, OP_OR, OP_AND};
|
51 |
enum Op {OP_NULL, OP_LEAF, OP_OR, OP_AND};
|
52 |
/** Relation to be searched between field and value. Recoll actually only
|
52 |
/** Relation to be searched between field and value. Recoll actually only
|
53 |
supports "contain" except for a size field */
|
53 |
supports "contain" except for a size field */
|
54 |
enum Rel {REL_NULL, REL_EQUALS, REL_CONTAINS, REL_LT, REL_LTE,
|
54 |
enum Rel {REL_NULL, REL_EQUALS, REL_CONTAINS, REL_LT, REL_LTE,
|
55 |
REL_GT, REL_GTE};
|
55 |
REL_GT, REL_GTE};
|
56 |
/** Modifiers for term handling: case/diacritics handling,
|
56 |
/** Modifiers for terms: case/diacritics handling,
|
57 |
stemming control */
|
57 |
stemming control... */
|
58 |
enum Modifier {WQM_CASESENS = 1, WQM_DIACSENS = 2, WQM_NOSTEM = 4,
|
58 |
enum Modifier {WQM_CASESENS = 1, WQM_DIACSENS = 2, WQM_NOSTEM = 4,
|
59 |
WQM_BOOST = 8, WQM_PROX = 0x10, WQM_SLOPPY = 0x20,
|
59 |
WQM_BOOST = 8, WQM_PROX = 0x10, WQM_SLOPPY = 0x20,
|
60 |
WQM_WORDS = 0x40, WQM_PHRASESLACK = 0x80, WQM_REGEX = 0x100,
|
60 |
WQM_WORDS = 0x40, WQM_PHRASESLACK = 0x80, WQM_REGEX = 0x100,
|
61 |
WQM_FUZZY = 0x200};
|
61 |
WQM_FUZZY = 0x200, WQM_QUOTED = 0x400};
|
62 |
|
62 |
|
63 |
typedef vector<WasaQuery*> subqlist_t;
|
63 |
typedef vector<WasaQuery*> subqlist_t;
|
64 |
|
64 |
|
65 |
WasaQuery()
|
65 |
WasaQuery()
|
66 |
: m_op(OP_NULL), m_rel(REL_NULL), m_exclude(false),
|
66 |
: m_op(OP_NULL), m_rel(REL_NULL), m_exclude(false),
|