I work on an online search project. Its database is MongoDB
I want to make a search textbox that works like:
if I want to search for a book
The author is "Joe"
The title is "my book"
and publisher is "tia"
I want to type in the search textbox: "joe my book tia" or "tia jo book"
so I will get a result for it.
Author, Title, and publisher are in the JSON on the MongoDB
can Some Body Help me?
This is a Sample about JSON:
{ "Author": [ { "id": "1", "name": "Joe", "last name": "Jeff" }, { "id": "1", "name": "Lama", "last name": "moon" } ], "Title": "My Book", "Publisher": "tia" }