pub fn tsquery_parse_with(
text: &str,
mode: TsQueryMode,
pushval: &mut TsQueryPushVal<'_>,
) -> Result<(Vec<QueryItem>, bool), TypeError>Expand description
parse_tsquery: the items of a query in the syntax of the mode. pushval adds the items of each operand: one lexeme, a query of lexemes, or the place of a stop word. The places of the stop words go out of the query at the end, as cleanup_tsquery_stopwords takes them out. The flag is true when the query had only stop words, so nothing is left. The caller sends the notice of PostgreSQL for an empty query.
ยงErrors
The errors of tsquery_parse and of pushval.