algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public void addDataSelectionQuery(@NonNull DataSelectionQuery query)
    {
        mirrorSettings.addQuery(query);
        mirrorSettings.setQueriesModificationDate(new Date());
        saveMirrorSettings();
    }
public void addDataSelectionQuery(@NonNull DataSelectionQuery query)
    {
        mirrorSettings.addQuery(query);
        mirrorSettings.setQueriesModificationDate(new Date());
        saveMirrorSettings();
    }
Add a data selection query to this index.
NOTE: All queries are implicitly browse queries (and not search queries).

@param query The data selection query to add.