{"repo":"FoundatioFx/Foundatio.Parsers","free":true,"listed":false,"github":"https://github.com/FoundatioFx/Foundatio.Parsers","clone":"git clone https://github.com/FoundatioFx/Foundatio.Parsers.git","description":"A lucene style query parser that is extensible and allows modifying the query.","language":"C#","stars":66,"topics":["lucene","parsers","parse","elasticsearch","aggregation","query","foundatio","c-sharp","pegasus","peg"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"An extensible Lucene-style query parser with support for Elasticsearch and SQL/Entity Framework Core. Build dynamic search APIs, custom dashboards, and powerful query interfaces. Documentation Read the full documentation Installation Quick Start Parse and Inspect Queries Output from DebugQueryVisitor : Regenerate the original query: Build Elasticsearch Queries Build SQL/EF Core Queries Features Query Syntax - Term queries : field:value , field:\"quoted phrase\" - Range queries : field:[1 TO 10] , field: 100 , field: =2024-01-01 - Boolean operators : AND , OR , NOT , + , - - Wildcards : field:val , field:va?ue - Existence : exists :field , missing :field - Date math : created:[now-7d TO now] - Geo queries : location:75044 75mi Full Query Syntax Reference Aggregations - Metrics : min , max , avg , sum , stats , cardinality , percentiles - Buckets : terms , date , histogram , geogrid , missing - Nested : terms:(category min:price max:price) Full Aggregation Syntax Reference Field Aliases Map user-friendly names to actual field paths: Field Aliases Guide Query Includes Define reusable query macros: Query Includes Guide Validation Validate and restrict queries: Validation Guide Visitor Pattern Extend with custom query transformations: Visitors Guide Use Cases - Dynamic Search APIs - Let users build complex queries - Custom Dashboards - User-defined aggregations and visualizations - Saved Searches - Store and reuse query fragments - Multi-tenant Filtering - Apply tenant filters trans","default_branch":null,"files":null,"tree":[],"storefront":"/r/FoundatioFx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FoundatioFx/Foundatio.Parsers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}