How to search 2 fields?

Hi, I’m brand new to Algolia and need to see if Algolia is the right service for me.

I have records as follows:
{ first: John, last: Doe }
{ first: Jane, last: Doe }

I want to be able to do a search both first and last at the same time.

  • “J D” -> would pull up both John Doe and Jane Doe
  • “J Do” -> also pull up both John Doe and Jane Doe
  • “Jo D” -> would only pull up John Doe

How do I set that up in Algolia?

Thank you for your help in advanced.