Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honhimw/meilisearch-query-dashboard
Query on Meilisearch with simple DSL.
https://github.com/honhimw/meilisearch-query-dashboard
antlr4 meilisearch monaco-editor shadcn-vue
Last synced: 2 months ago
JSON representation
Query on Meilisearch with simple DSL.
- Host: GitHub
- URL: https://github.com/honhimw/meilisearch-query-dashboard
- Owner: honhimW
- Created: 2024-05-12T15:53:37.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T02:44:09.000Z (5 months ago)
- Last Synced: 2024-08-13T03:38:08.619Z (5 months ago)
- Topics: antlr4, meilisearch, monaco-editor, shadcn-vue
- Language: Vue
- Homepage: https://honhimw.github.io/meilisearch-query-dashboard/
- Size: 2.69 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Meilisearch Query Dashboard
### Preview
![/Query](./misc/screenshot_query.png "Query")
![/Query](./misc/screenshot_settings.png "Query")
![/Query](./misc/screenshot_settings_diff_view.png "Query")
![/Query](./misc/screenshot_tasks.png "Query")## Simple Query DSL (Antlr4)
[See MsDsl.g4 here.](./antlr4/MsDsl.g4)
### Filter
**Operators**
* \= : Equal
* \!= : Unequal
* \> : Greater than
* \>= : Greater than or equal to
* \< : Less than
* \<= : Less than or equal to
* like: CONTAINS('%any%') | STARTS WITH('%any') | ENDS WITH('any%') in (prototype-contains-starts-ends-with-filters-0)
* q : another federation searchParams with only one attributes to search on.```html
# :
```---
### Sort**Operators**
* \+ : ASC
* \- : DESC```html
@sort : <+|->
```---
### Search on```html
@on :
```## Example
DSL:
```text
@on: title 'The Matrix' @sort : -id @on : 'genres' #id: <1000
```Rendered Search params:
```json lines
{
"q": "'The Matrix'",
"filter": [
"id < 1000"
],
"sort": [
"id:desc"
],
"attributesToSearchOn": [
"title",
"genres"
],
// ...
}
```