muspan.query.
interpret_query#
- interpret_query(query)#
Interpret and filter a query.
Converts a query or query-container into a list of object IDs which match the query. Filter the ‘values_array’ element of the query using the ‘relation’ operation to compare against the value in ‘comparison_value’. Return the filtered object_indices which match the query.
- Parameters:
- queryquery_like
Either a muspan query object, a query_container, or a list/array of object IDs.
- Returns:
- filtered_object_indicesndarray
The filtered object indices that match the query.