anchor.diff:  The minimum hash codes from all hash functions are combined
   to form a signature for the document.
   
  +[[analysis-minhash-tokenfilter-customize]]
  +==== Customize and add to an analyzer
   
  -==== Example of setting MinHash Token Filter in Elasticsearch
  -Here is an example of setting up a `min_hash` filter:
  +To customize the `min_hash` filter, duplicate it to create the basis for a new
  +custom token filter. You can modify the filter using its configurable
  +parameters.
   
  -[source,js]
  ---------------------------------------------------
  -POST /index1
  +For example, the following <<indices-create-index,create index API>> request
  +uses the following custom token filters to configure a new
  +<<analysis-custom-analyzer,custom analyzer>>:
  +
  +* `my_shingle_filter`, a custom <<analysis-shingle-tokenfilter,`shingle`
  +  filter>>. `my_shingle_filter` only outputs five-word shingles.
  +* `my_minhash_filter`, a custom `min_hash` filter. `my_minhash_filter` hashes
  +  each five-word shingle once. It then assigns the hashes into 512 buckets,
  +  keeping only the smallest hash from each bucket.
  +
  +The request also assigns the custom analyzer to the `fingerprint` field mapping.
  +
  +[source,console]
  +----
  +PUT /my_index
   {
     "settings": {
       "analysis": {
         "filter": {
  -        "my_shingle_filter": { <1>
  +        "my_shingle_filter": {      <1>
             "type": "shingle",
             "min_shingle_size": 5,
             "max_shingle_size": 5,
  
positive.code:     }
    }
  }
  --------------------------------------------------
  // NOTCONSOLE
  <1> setting a shingle filter with 5-word shingles
  <2> setting min_hash filter to hash with 1 hash
  <3> setting min_hash filter to hash tokens into 512 buckets
  <4> setting min_hash filter to keep only a single smallest hash in each bucket
  <5> setting min_hash filter to fill empty buckets with values from neighboring buckets
  
negative.code:         },
          "my_minhash_filter": {
            "type": "min_hash",
            "hash_count": 1,          <2>
            "bucket_count": 512,      <3>
            "hash_set_size": 1,       <4>
            "with_rotation": true     <5>
          }
        },
        "analyzer": {
  