Switch to unified view

a/src/query/wasastringtoquery.h b/src/query/wasastringtoquery.h
...
...
61
           WQM_FUZZY = 0x200};
61
           WQM_FUZZY = 0x200};
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_modifiers(0)
66
    : m_op(OP_NULL), m_modifiers(0), m_weight(1.0)
67
    {}
67
    {}
68
68
69
    ~WasaQuery();
69
    ~WasaQuery();
70
70
71
    /** Get string describing the query tree from this point */
71
    /** Get string describing the query tree from this point */
...
...
84
84
85
    /** Subqueries. Valid for conjunctions */
85
    /** Subqueries. Valid for conjunctions */
86
    vector<WasaQuery*> m_subs;
86
    vector<WasaQuery*> m_subs;
87
    
87
    
88
    unsigned int   m_modifiers;
88
    unsigned int   m_modifiers;
89
    float          m_weight;
89
};
90
};
90
91
91
/**
92
/**
92
 * Wasabi query string parser class. Could be a simple function
93
 * Wasabi query string parser class. Could be a simple function
93
 * really, but there might be some parser initialization work done in
94
 * really, but there might be some parser initialization work done in