org.hibernate.search.elasticsearch.settings.impl.translation

## Interface ParametersTransformer

-     public interface ParametersTransformer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,com.google.gson.JsonElement>` | `transform(Map<String,String> luceneParameters)` Extracts Lucene parameters from the given map and returns the corresponding Elasticsearch parameters.

- - ### Method Detail

    - #### transform

          Map<String,com.google.gson.JsonElement> transform(Map<String,String> luceneParameters)

      Extracts Lucene parameters from the given map and returns the corresponding Elasticsearch parameters.

      Lucene parameters that have been taken care of should be removed from `luceneParameters`, so that other transformers won't attempt to transform those.

      Parameters:
        `luceneParameters` - The parameters of a Lucene analysis factory. Elements can be removed from this map to indicate they have been taken care of.
      Returns:
        A set of parameters with the same overall meaning, but following the Elasticsearch syntax.

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved