I have a custom model, and have successfully customized the advanced search to search for the properties of this model. Now I'm customizing the simple search, I know how to search on the value of one property, but what I want to do is to check if the search text exist in (Property X) OR in (Property Y).
The solution is to change the query template in search.lib.js By default, it's [{ field: "keywords", template: "%(cm:name cm:title cm:description ia:whatEvent ia:descriptionEvent lnk:title lnk:description TEXT TAG)" }]
I just had to put in template the properties to search for.