Add preserve_original setting in ngram token filter#55432
Conversation
|
Pinging @elastic/es-search (:Search/Analysis) |
|
@markharwood thanks for the suggestions, I'll address them soon and let you know. |
My bad - that's the wrong test class - it's for the NGramTokenizer rather than the NGramTokenFilter you modified. I'm not sure there is an existing class for testing that TokenFilter |
|
@markharwood Sorry I forgot, yeah yesterday I searched for the test class of this but couldn't find one and should have mentioned that. Also, I added the documentation of newly added Now please let me know if I need to do something else, would like to close this before I go to bed today :) |
|
@markharwood Hope you are doing well. Please go through my last commit and let me know if I need to address some more comments. |
There was a problem hiding this comment.
The default is false? (And needs to be for backwards-compatibility reasons).
There was a problem hiding this comment.
@markharwood thanks for pointing this, Addressed it in my latest comment.
There was a problem hiding this comment.
@markharwood I also rebased my feature branch with the latest master code and squashed my commits. Let me know if anything else required from my side.
a55e1b4 to
6e45024
Compare
|
@markharwood Added the missing test file
|
4ebc046 to
f1dcee9
Compare
|
@elasticmachine ok to test |
…n-filter and added the missing test class.
da2bf3d to
5059c42
Compare
|
Hi Amit. |
|
@markharwood It's OK I can understand. Christoph helped me with similar PR in Could you please do the final review, please note that I've added a missing test class as well, as pointed by you earlier and addressed all other comments already. |
|
Many thanks for this, Amit. |
Relates: #4718, elastic/elasticsearch#55432 Added in Elasticsearch 7.8.0
Relates: #4718, elastic/elasticsearch#55432 Added in Elasticsearch 7.8.0
Relates: #4718, elastic/elasticsearch#55432 Added in Elasticsearch 7.8.0
Relates: #4718, elastic/elasticsearch#55432 Added in Elasticsearch 7.8.0 Co-authored-by: Russ Cam <russ.cam@elastic.co>
Relates: #4718, elastic/elasticsearch#55432 Added in Elasticsearch 7.8.0 Co-authored-by: Russ Cam <russ.cam@elastic.co>
No description provided.