jurismarches / luqum

A lucene query parser generating ElasticSearch queries and more !
Other
187 stars 42 forks source link

Support default field being a list in ElasticsearchQueryBuilder #105

Open alexgarel opened 2 months ago

alexgarel commented 2 months ago

Currently in ElasticsearchQueryBuilder default_field (for search terms without a specific field declared) is only meant as a single field.

But Elasticsearch supports multi_match query where you can specify more than one field.

Luqum could support this, as it is quite a common pattern.