anchor.diff:                 false ->
                      []
              end
  -        ++ membase_query_stats_description(AddQuery)
  -        ++ membase_index_stats_description(IndexNodes)
  -        ++ membase_fts_stats_description(FtsNodes)
  +        ++ membase_query_stats_description(has_nodes(n1ql, ServiceNodes))
  +        ++ membase_index_stats_description(has_nodes(index, ServiceNodes))
  +        ++ membase_fts_stats_description(has_nodes(fts, ServiceNodes))
           ++ membase_drift_stats_description()
          }]}].
   
  
positive.code:               {name, <<"query_requests">>},
                {desc, <<"Number of N1QL requests processed per second">>}]}].
  
  membase_index_stats_description([]) ->
      [];
  membase_index_stats_description(_) ->
      [{struct, [{isBytes, true},
                 {title, <<"index data size">>},
                 {name, global_index_stat(<<"data_size">>)},
  
negative.code:               [MyStats | Stats]
        end, [], DictBySig).
  
  couchbase_index_stats_descriptions(BucketId, ServiceNodes) ->
      proceed_if_has_nodes(
        index, ServiceNodes, {stats_directory_index, BucketId},
        fun (IndexNodes) ->
                do_couchbase_index_stats_descriptions(BucketId, IndexNodes)
        end).
  
  do_couchbase_index_stats_descriptions(BucketId, Nodes) ->
      AllIndexes = do_get_indexes(service_index, BucketId, Nodes),
      [{struct, [{blockName, <<"Index Stats: ", Id/binary>>},
                 {extraCSSClasses, <<"dynamic_closed">>},
  