This implements a small predicate-based query language to search for documents through their tags. The results of queries are reflected in a new view.
mage search "rose_lalonde" # tagged with rose_lalonde
mage search "-kanaya_maryam" # not tagged with dirk_strider
mage search "rose_lalonde kanaya_maryam" # tagged with both
mage search "rose_lalonde OR kanaya_maryam" # tagged with either
mage search "vriska_serket OR (rose_lalonde kanaya_maryam)" # syntactic grouping
Not implemented:
XOR operator (Should be simple)
Wildcards (Should be simple. The alias to ID translation comes before SQL generation.)
Resolves #13
This implements a small predicate-based query language to search for documents through their tags. The results of queries are reflected in a new view.
Not implemented: