Skip to content

Github mirror of "search/extra" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Notifications You must be signed in to change notification settings

nomoa/search-extra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. At this point it only contains:

Filters:

  • source_regex - An nGram accelerated regular expression filter that is generally much much faster than sequentially checking all documents.
  • id_hash_mod - Filter used to select all documents independantly. For example, it can be used by multiple processes to reindex all documents without any interprocess communication. Added in 1.5.0, 1.4.1, and 1.3.0.

Queries:

  • safer - Wraps other queries and analyzes them for potentially expensive constructs. Expensive constructs either cause errors to be sent back to the user or are degraded into cheaper, less precise constructs.

Native Scripts:

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

Score Functions:

  • field_value_factor_with_default - Just like field_value_factor except it supports a missing parameter that is the value used if the field is missing from the document being scored. Added in 1.5.0, 1.4.1, and 1.3.0.

Installation

Extra Queries and Filters Plugin ElasticSearch
1.5.0, master branch 1.5.X
1.4.0 -> 1.4.1, 1.4 branch 1.4.X
1.3.0 -> 1.3.1, 1.3 branch 1.3.4 -> 1.3.X
0.0.1 -> 0.0.2 1.3.2 -> 1.3.3

Install it like so for Elasticsearch 1.5.x:

./bin/plugin --install org.wikimedia.search/extra/1.5.0

Install it like so for Elasticsearch 1.4.x:

./bin/plugin --install org.wikimedia.search/extra/1.4.1

and for Elasticsearch 1.3.x:

./bin/plugin --install org.wikimedia.search/extra/1.3.1

About

Github mirror of "search/extra" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%