Instant search android query

Hello everyone,
I’m learning Android programming and I started using Algolia instant search. What I’m not understanding and have not been able to found online is how to perform queries on the searcher or set rules on it (for example which attribute use for the searching). Can anybody help me?