jurismarches / luqum

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

Regexp Operator Support #31

Open paulo-serrao opened 6 years ago

paulo-serrao commented 6 years ago

Any plans to add support for the regexp search operator ("/")?

Example from ElasticSearch documentation: name: /joh?n(ath[oa]n)/

https://www.elastic.co/guide/en/elasticsearch/reference/6.4/query-dsl-query-string-query.html#_regular_expressions

alexgarel commented 6 years ago

Yes, this is in the todo list.

PR with tests are always welcome ;-)

But I may get a look on this in september/october.

alexgarel commented 4 years ago

https://github.com/jurismarches/luqum/pull/52 add it in the parsing tree.

What remains to do is adding support in the query transformer to ES.