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:
The extra plugin contains utilities that are generally useful.
- 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.
- super_detect_noop - Like
detect_noopbut supports configurable sloppiness. New in 1.5.0, 1.4.1, and 1.3.1.
- 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 220.127.116.11.
This plugin contains a Slovak stemmer.
- slovak_stemmer - A token filter that provides stemming for the Slovak language. New in 18.104.22.168.
|Extra Queries and Filters Plugin||ElasticSearch|
|6.3.1, master branch||6.3.1|
|2.4.1, 2.4 branch||2.4.1|
|2.3.5, 2.3 branch||2.3.5|
Install it like so for Elasticsearch x.y.z:
./bin/plugin --install org.wikimedia.search/extra/x.y.z
./bin/elasticsearch-plugin install org.wikimedia.search:extra:x.y.z ./bin/elasticsearch-plugin install org.wikimedia.search:extra-analysis-slovak:x.y.z
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
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