Hi,
I wonder if there is a library that parses Lucene query syntax to Mongodb query.
example:
(title:"foo" AND body:"bar") OR title:foo_bar
becomes :
{ $or: [{ $and: [ { title:"foo"},{body:"bar" } ] } , {title:foo_bar} ] }
Hi,
I wonder if there is a library that parses Lucene query syntax to Mongodb query.
example:
(title:"foo" AND body:"bar") OR title:foo_bar
becomes :
{ $or: [{ $and: [ { title:"foo"},{body:"bar" } ] } , {title:foo_bar} ] }
I found this:
it looks like what Iām looking for.