Files
Geneweb/lib/advSearchOk.mli
2024-03-05 22:01:20 +01:00

10 lines
615 B
OCaml
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

val advanced_search :
Config.config -> Gwdb.base -> int -> Gwdb.person list * int
(** [advanced_search conf base max_answers] extracts advaced request fields from environement [conf.env] and
returns at most [max_answers] persons from the [base] that match conditions described by those fields. Seond result
represents real number of matches (if less then [max_answers]). *)
val searching_fields : Config.config -> Gwdb.base -> Adef.safe_string
(** Returns a description string for the current advanced search results in the correct language.
e.g. "Search all Pierre, born in Paris, died in Paris" *)