[maven-release-plugin] prepare for next development iteration

Change-Id: Ib62001948e89ad2f26e0d609d1e756369048efba
5 files changed
tree: c19abf86575452885e51804f93f50c203a1b4c63
  1. .mvn/
  2. docs/
  3. extra/
  4. extra-analysis-slovak/
  5. extra-analysis-surrogates/
  6. extra-common/
  7. src/
  8. .gitignore
  9. .gitreview
  10. mvnw
  11. mvnw.cmd
  12. pom.xml
  13. README.md
README.md

Extra Queries and Filters Build Status

The plan is for this to include any extra queries, filters, native scripts, score functions, and anything else we think we end up creating to make search nice for Wikimedia. It contains 2 diffferent plugins:

extra

The extra plugin contains utilities that are generally useful.

Queries:

  • source_regex - An nGram accelerated regular expression filter that is generally much much faster than sequentially checking all documents.
  • token_count_router - Simple query wrapper that evaluates some conditions based on the number of tokens of the input query.
  • simswitcher - Simple query wrapper that allows to override similarity settings at query time (expert: use with caution). * term_freq - Simple term query with filtering based on term frequency.

Native Scripts:

  • super_detect_noop - Like detect_noop but supports configurable sloppiness. New in 1.5.0, 1.4.1, and 1.3.1.

Analysis:

  • preserve_original - A token filter that wraps a filter chain to keep and emit the original term at the same position. New in 2.3.4.
  • term_freq - A token filter to populate the term frequency from the input string. New in 5.5.2.6.

extra-analysis-slovak

This plugin contains a Slovak stemmer.

Analysis:

  • slovak_stemmer - A token filter that provides stemming for the Slovak language. New in 5.5.2.4.

extra-analysis-surrogates

This plugin contains a filter to merge UTF-32 high and low surrogates that have been split, particularly by pre–ES 6.4 smartcn.

Analysis:

Installation

Extra Queries and Filters PluginElasticSearch
5.5.2.4, master branch5.5.2
5.5.25.5.2
5.3.25.3.2
5.2.25.2.2
5.2.15.2.1
5.2.05.2.0
5.1.25.1.2
2.4.1, 2.4 branch2.4.1
2.4.02.4.0
2.3.5, 2.3 branch2.3.5
2.3.42.3.4
2.3.32.3.3
1.7.0 -> 1.7.1, 1.7 branch1.7.X
1.6.0, 1.6 branch1.6.X
1.5.0, 1.5 branch1.5.X
1.4.0 -> 1.4.1, 1.4 branch1.4.X
1.3.0 -> 1.3.1, 1.3 branch1.3.4 -> 1.3.X
0.0.1 -> 0.0.21.3.2 -> 1.3.3

Install it like so for Elasticsearch x.y.z:

<= 2.4.1

./bin/plugin --install org.wikimedia.search/extra/x.y.z

>= 5.1.2

./bin/elasticsearch-plugin install org.wikimedia.search:extra:x.y.z
./bin/elasticsearch-plugin install org.wikimedia.search:extra-analysis-slovak:x.y.z
./bin/elasticsearch-plugin install org.wikimedia.search:extra-analysis-ssurrogates:x.y.z

Build

Spotbugs is run during the verify phase of the build to find common issues. The build will break if any issue is found. The issues will be reported on the console.

To run just the check, use mvn spotbugs:check on a project that was already compiled (mvn compile). mvn spotbugs:gui will provide a graphical UI that might be easier to read.

Like all tools, spotbugs is much dumber than you. If you find a false positive, you can ignore it with the @SuppressFBWarnings annotation. You can provide a justification to make document why this rule should be ignored in this specific case. Some rules don't make sense for this project and they can be ignored via src/dev-tools/spotbugs-excludes.xml.