Switch to unified view

a/src/utils/hldata.h b/src/utils/hldata.h
...
...
14
     * intended for orthographic suggestions so the terms are always
14
     * intended for orthographic suggestions so the terms are always
15
     * lowercased, unaccented or not depending on the type of index 
15
     * lowercased, unaccented or not depending on the type of index 
16
     * (as the spelling dictionary is generated from the index terms).
16
     * (as the spelling dictionary is generated from the index terms).
17
     */
17
     */
18
    std::set<std::string> uterms;
18
    std::set<std::string> uterms;
19
20
    /** The db query terms linked to the uterms entry they were expanded from. 
21
     * This is used for aggregating term stats when generating snippets (for 
22
     * choosing the best terms, allocating slots, etc. )
23
     */
24
    std::map<std::string, std::string> terms;
19
25
20
    /** The original user terms-or-groups. This is for display
26
    /** The original user terms-or-groups. This is for display
21
     * purposes: ie when creating a menu to look for a specific
27
     * purposes: ie when creating a menu to look for a specific
22
     * matched group inside a preview window. We want to show the
28
     * matched group inside a preview window. We want to show the
23
     * user-entered data in the menu, not some transformation, so
29
     * user-entered data in the menu, not some transformation, so