fn into_queries(self) -> Vec<QueryData> {
        match self {
            Self::Multi(queries) => queries,
            Self::Single(mut query) => {
                if let Occur::Should = &query.occur {
                    query.occur = Occur::Must;
                }

                vec![query]
            },
        }
    }
/// Consumes the selector and returns a list of queries to process.
Consumes the selector and returns a list of queries to process.
Consumes the selector and returns a list of queries to process .
fn into_queries(self) -> Vec<QueryData> {
        match self {
            Self::Multi(queries) => queries,
            Self::Single(mut query) => {
                if let Occur::Should = &query.occur {
                    query.occur = Occur::Must;
                }
                vec![query]
            },
        }
    }
fn into_queries ( self ) -> Vec < QueryData > { match self { Self :: Multi ( queries ) => queries , Self :: Single ( mut query ) => { if let Occur :: Should = & query . occur { query . occur = Occur :: Must ; } vec ! [ query ] } , } }
Consumes the selector and returns a list of queries to process.
Consumes the selector and returns a list of queries to process .
self
self