jurismarches / luqum

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

Recurse new node's children when a node is replaced in LuceneTreeTransformer #7

Closed connec closed 7 years ago

connec commented 7 years ago

This changes the behaviour of LuceneTreeTransformer.visit when a node is replaced. Rather than recursing through the children of the node that was replaced, we instead recurse through the children of the new node.

alexgarel commented 7 years ago

Hello @connec, thanks for the proposal, I'll check it and validate asap.

alexgarel commented 7 years ago

Merged, thanks @connec.

connec commented 7 years ago

No problem, thanks for merging!

Any idea when a release might happen?

alexgarel commented 7 years ago

If you need it, I can consider one. Maybe with at least one bug fix :-)

alexgarel commented 7 years ago

0.5.2 released. Thanks @connec