Reccomended javascript library for search operation

Hi ,

I am looking for a good JS library which have advanced search operations
like facets , add query type etc at a niche of a function call.
Which one is the reccomended one ?

Thanks
Vineeth