Task #2398

Updated by Sebastien Jacquot almost 2 years ago

There is a problem with the interaction between these classes leading to some code visibility, code comprehension and useless duplicate code problems. We need to rethink them and maybe also the IndexEditor and DictionnayEditor (at least rename the last one).
I think Lexicon should extend Index. It's only an Index with a specific query [].
Then the class will benefit from all new features involved in the restructuration (eg. @Parameter annotation).

h3. Solution

* Lexicon extends Index
* remove lexicon member and lexicon mode from Index class
* stop to use the Line class
* for an index on partition, a lexicon could be created and recycled or not for each part (as a child result of each part)