Module Ben.Query

type t
val of_expr : Types.expr -> t
val of_string : string -> t
val to_string : ?escape:bool -> t -> string
val eval : 'a Package.kind -> 'a Package.t -> t -> bool
val eval_source : Package.source Package.t -> t -> bool
val eval_binary : Package.binary Package.t -> t -> bool
val checks : t -> int

Number of field checks an evaluation makes at most, once the terms of each | chain on the same field have been merged.

val compiled_regexps : unit -> int

Number of distinct regexps compiled so far in this process. Each regexp is compiled once, when a query using it is built.