code: public static Comparator<CompositeScore<?>> fullComparator(QueryHints hints) {
          if (hints != null && hints.contains(QueryHint.CONSUME_SLICE)) {
              return Comp.SLICE;
          }
          return Comp.FULL;
      }
docs: Returns a comparator which determines which CompositeScores are
  better. It compares identity matches, range matches, ordering, open
  range matches, property arrangement and index cost estimate. It does not
  matter if the scores were evaluated for different indexes or storable
  types. The comparator returns {@code <0} if first score is better,
  {@code 0} if equal, or {@code >0} if second is better.
  
  @param hints optional hints