I created a document with channels[ “vitalsigns” ] and Sync,
pullReplication.setChannels(Arrays.asList("vitalsigns"));, there is no document downloaded tagged as “vitalsigns”. How?
Yet according to Filtered pull from Sync Gateway,
you can filter it further by creating an array of channel names and setting it as the value of the channels property of a pull Replication.