aboutsummaryrefslogtreecommitdiff
path: root/lib/lastmod-fp.cc
AgeCommit message (Collapse)Author
2022-09-03lib: add field processor for lastmod: prefixDavid Bremner
By sharing the existing logic used by the sexp query parser, this allows negative lastmod revisions to be interpreted as relative to the most recent revision.
2022-09-03lib: factor out lastmod range handling from sexp parser.David Bremner
This will permit the re-use of the same logic in the infix query parser. The location of the shared code in the infix side is for consistency with the other shared parsing logic. It will make more sense when a Xapian field processor is added for the lastmod prefix.