public @NonNull
    Query setRemoveStopWords(Object removeStopWords) throws AlgoliaException {
        if (removeStopWords instanceof Boolean || removeStopWords instanceof String) {
            return set(KEY_REMOVE_STOP_WORDS, removeStopWords);
        }
        throw new AlgoliaException("removeStopWords should be a Boolean or a String.");
    }
public @NonNull
    Query setRemoveStopWords(Object removeStopWords) throws AlgoliaException {
        if (removeStopWords instanceof Boolean || removeStopWords instanceof String) {
            return set(KEY_REMOVE_STOP_WORDS, removeStopWords);
        }
        throw new AlgoliaException("removeStopWords should be a Boolean or a String.");
    }
public @ NonNull Query setRemoveStopWords ( Object removeStopWords ) throws AlgoliaException { if ( removeStopWords instanceof Boolean || removeStopWords instanceof String ) { return set ( KEY_REMOVE_STOP_WORDS , removeStopWords ) ; } throw new AlgoliaException ( "removeStopWords should be a Boolean or a String." ) ; }
Enable the removal of stop words, disabled by default.
In most use-cases, we don’t recommend enabling this option.

@param removeStopWords Boolean: enable or disable all 41 supported languages,
String: comma separated list of languages you have in your record (using language iso code).
Enable the removal of stop words disabled by default . In most use - cases we don’t recommend enabling this option .