What does "optimize_single_shard" config used for?

I read the TransportSearchAction.java and found there is this config. so i'd like to ask what does "optimize_single_shard" config used for?