Best Way to integrate typesense or elastic search with b4a

I want to integrate a search with many parameters that may not all be used when searching. Is my only option selfhosting or can I have a query not get data from a parameter if it was not used? Is the solution checking the string length?

Would you mind to give an example of what you want to achieve?

What I want to do is have autocomplete suggestions for 4 different columns and also be able to search with more than one result from those columns. An example is amazon search for laptops. Then you can click multiple brands to show. That’s what I want to do and make a live query.

Have you tried the Full Text feature (JavaScript Developers Guide | Parse)?