You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pub struct SearchQuery {
/// The text search query entered by the user in the search box
pub q: Option<String>,
/// Maximum amount of results
pub limit: Option<usize>,
/// Only include resources that have one of these resources as its ancestor
#[serde_as(as = "Option<StringWithSeparator::<CommaSeparator, String>>")]
pub parents: Option<Vec<String>>,
/// Filter based on props, using tantivy QueryParser syntax.
/// e.g. `prop:val` or `prop:val~1` or `prop:val~1 AND prop2:val2`
/// See https://docs.rs/tantivy/latest/tantivy/query/struct.QueryParser.html
pub filters: Option<String>,
pub include: Option<bool>,
}
TODO
Create properties (in the server ontology)
Add them to urls.rs
Add them to the search Endpoint definition
The text was updated successfully, but these errors were encountered:
Filters
andSearch
paramsTODO
urls.rs
The text was updated successfully, but these errors were encountered: