Skip to content

[analysis-icu] Allow setting unicodeSetFilter#20814

Merged
jpountz merged 1 commit intoelastic:masterfrom
nomoa:unicode_set_filter_everywhere
Jun 16, 2017
Merged

[analysis-icu] Allow setting unicodeSetFilter#20814
jpountz merged 1 commit intoelastic:masterfrom
nomoa:unicode_set_filter_everywhere

Conversation

@nomoa
Copy link
Copy Markdown
Contributor

@nomoa nomoa commented Oct 8, 2016

UnicodeSetFilter was only allowed in the icu_folding token filter.
It seems useful to expose this setting in icu_normalizer token filter and char filter.

Closes #20820

@nomoa nomoa force-pushed the unicode_set_filter_everywhere branch from 628976a to f7a2d24 Compare October 9, 2016 10:05
@elasticmachine
Copy link
Copy Markdown
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

@nomoa Sorry we lost track of this. @jpountz Can you review?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should remain without a closing tag. Javadocs use html 4, and actually expect there to be only the opening paragraph tag. See http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#format.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@nomoa nomoa force-pushed the unicode_set_filter_everywhere branch from f7a2d24 to 2ce7f96 Compare June 15, 2017 10:58
@elasticmachine
Copy link
Copy Markdown
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@nomoa
Copy link
Copy Markdown
Contributor Author

nomoa commented Jun 15, 2017

@rjernst thanks for the ping (completely forgot about this one too).
Patch rebased

Copy link
Copy Markdown
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

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

This PR looks good to me. I left a minor comment, would you mind fixing it?

Copy link
Copy Markdown
Contributor

@jpountz jpountz Jun 15, 2017

Choose a reason for hiding this comment

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

please remove trailing ";"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@jpountz
Copy link
Copy Markdown
Contributor

jpountz commented Jun 15, 2017

@elasticmachine please test it

UnicodeSetFilter was only allowed in the icu_folding token filter.
It seems useful to expose this setting in icu_normalizer token filter
and char filter.
@nomoa nomoa force-pushed the unicode_set_filter_everywhere branch from 2ce7f96 to 3ffeabc Compare June 15, 2017 15:13
@nomoa
Copy link
Copy Markdown
Contributor Author

nomoa commented Jun 15, 2017

@jpountz thanks for the review, I amended the patch.

@jpountz
Copy link
Copy Markdown
Contributor

jpountz commented Jun 15, 2017

Great, thanks!

@elasticmachine please test it

@jpountz jpountz merged commit ff9edb6 into elastic:master Jun 16, 2017
jpountz pushed a commit that referenced this pull request Jun 16, 2017
UnicodeSetFilter was only allowed in the icu_folding token filter.
It seems useful to expose this setting in icu_normalizer token filter
and char filter.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jun 16, 2017
…y-context

* 'master' of github.com:elastic/elasticsearch: (21 commits)
  [DOCS] Clarify expected availability of HDFS for the HDFS Repository (elastic#25220)
  Remove some redundant 140 character checkstyle suppressions
  [Docs] more fix for the parent-join docs
  [Docs] Fix cross reference for parent-join field
  More advices around search speed and disk usage. (elastic#25252)
  Add documentation for the new parent-join field (elastic#25227)
  [analysis-icu] Allow setting unicodeSetFilter (elastic#20814)
  Introduce translog size and age based retention policies (elastic#25147)
  Add needs methods for specific variables to Painless script context factories. (elastic#25267)
  Improves snapshot logging and snapshoth deletion error handling (elastic#25264)
  Add unit test for PathHierarchyTokenizerFactory (elastic#24984)
  Deprecate tribe service
  Moved more token filters to analysis-common module.
  [Test] Make sure that SearchAfterSortedDocQueryTests uses a single threaded searcher
  [DOCS] Defined es-test-dir and plugins-examples-dir in index.asciidoc.  (elastic#25232)
  Test fix - removed superfluous assertion (elastic#25247)
  [Test] restore BWC for parent-join now that the new mapping format is in 5.x
  Add a section named "relations" in the ParentJoinFieldMapper (elastic#25248)
  test: Ported more OldIndexBackwardsCompatibilityIT tests to full cluster restart qa tests. (elastic#25173)
  fix: Sort Processor does not have proper behavior with targetField (elastic#25237)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants