@ SuppressWarnings ( "PMD.LinguisticNaming" ) public IndexMatchVerifier isIndexSigns ( final Object ... signs ) { final List < Object > idxsigns = Lists . newArrayList ( ) ; idxsigns . add ( index . getType ( ) ) ; idxsigns . addAll ( Arrays . asList ( signs ) ) ; return new IndexMatchVerifier ( idxsigns ) ; }
Compares current index configuration with new signature . Used to decide if index should be dropped and re - created or its completely equal to new signature .