I’m trying to implement the boolean search in my application. I’m using altas search index to implement search in the mongodb database.For that i have to implement the custom parsing boolean search string and convert it to the altas search implementation.
Is there any easier way to do this or is there any library to do this?
There’s the queryString operator which is close but I would not recommend using it without massaging the input query to properly escape things, but even then I’d recommend you build this yourself as it doesn’t support the syntax you’ve shown here and is fragile with particular syntax and field parsing. Let us know how you progress with this effort!