# Lingo3g Attribute modification for Elasticsearch

**URL:** <https://discuss.elastic.co/t/lingo3g-attribute-modification-for-elasticsearch/16464>\
**Category:** Elasticsearch\
**Created:** [March 19, 2014, 12:18pm UTC](https://discuss.elastic.co/t/lingo3g-attribute-modification-for-elasticsearch/16464 "2014-03-19T12:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Pal](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@Prashant\_Pal](https://discuss.elastic.co/u/Prashant_Pal)\
**Post date:** [March 19, 2014, 12:18pm UTC](https://discuss.elastic.co/t/lingo3g-attribute-modification-for-elasticsearch/16464/1 "2014-03-19T12:18:10Z")

</div>

Hi ,

I am looking to modify **maxHierarchyDepth** attribute in lingo3g wrt elasticsearch to make a provision for 3 level clustering.

What I have done is I have two files in my ES/config directory as below:  
**1. lingo3g-attributes.xml**

 overridden-attributes

```
        <attribute key="com.carrotsearch.lingo3g.Lingo3GAttributesDescriptor.AttributeBuilder.maxHierarchyDepth">
        <value type="java.lang.Integer" value="3" />
        </attribute>
</value-set>

```

And **2. lingo3g.xml**  
  
  
  
Lingo3G  
Lingo3G Clustering

But I am not getting the sub clusters upto 3 level so is there anything I am missing in the configuration?

I have configured the attributes wrt [http://download.carrotsearch.com/lingo3g/1.9.0/manual/#section.es](http://download.carrotsearch.com/lingo3g/1.9.0/manual/#section.es)

---

<div class="post-metadata">

**Author:** ![Prashant\_Pal](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@Prashant\_Pal](https://discuss.elastic.co/u/Prashant_Pal)\
**Post date:** [March 19, 2014, 1:53pm UTC](https://discuss.elastic.co/t/lingo3g-attribute-modification-for-elasticsearch/16464/2 "2014-03-19T13:53:38Z")

</div>

Sorry I was giving the wrong Key so after modifying the key as below its working 🙂

 overridden-attributes

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:42am UTC](https://discuss.elastic.co/t/lingo3g-attribute-modification-for-elasticsearch/16464/3 "2017-07-06T01:42:09Z")

</div>

Closed on July 6, 2017, 1:42am UTC


