code: @Deprecated
      public <T> List<T> findByIndex(String selectorJson, Class<T> classOfT) {
          return findByIndex(selectorJson, classOfT, new FindByIndexOptions());
      }
docs: Find documents using an index
  
  @param selectorJson String representation of a JSON object describing criteria used to
  select documents. For example:
  {@code "{ \"selector\": {<your data here>} }"}.
  @param classOfT     The class of Java objects to be returned
  @param <T>          the type of the Java object to be returned
  @return List of classOfT objects
  @see #findByIndex(String, Class, FindByIndexOptions)
  @see <a
  href="https://console.bluemix.net/docs/services/Cloudant/api/cloudant_query.html#selector-syntax"
  target="_blank">selector syntax</a>
  @deprecated Use {@link #query(String, Class)} instead