Skip to content

Conversation

gmarz
Copy link
Contributor

@gmarz gmarz commented Dec 21, 2016

…r setting an index-level default

They've been removed since 2.0 :\

I've also added a Default() method for conveniently setting the index-level default analyzer rather than having to do .Keyword("default") which might be a little more intuitive.

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, i did end up removing Default() since it forces an OIS pattern in the fluent syntax with a fluent variant.

@Mpdreamz Mpdreamz merged commit 3b4466e into 5.x Dec 28, 2016
Mpdreamz pushed a commit that referenced this pull request Dec 28, 2016
#2506)

* Mark type level analyzers as obsolete and add a convenience method for setting an index-level default

* remove Default()
Mpdreamz pushed a commit that referenced this pull request Dec 28, 2016
#2506)

* Mark type level analyzers as obsolete and add a convenience method for setting an index-level default

* remove Default()

Conflicts:
	src/Tests/Analysis/Analyzers/AnalyzerUsageTests.cs
@Mpdreamz Mpdreamz deleted the fix/type-level-analyzers branch December 28, 2016 09:01
@Mpdreamz
Copy link
Member

Ported to 2.x and master

awelburn pushed a commit to Artesian/elasticsearch-net that referenced this pull request Nov 6, 2017
elastic#2506)

* Mark type level analyzers as obsolete and add a convenience method for setting an index-level default

* remove Default()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants