is strictly prohibited Recent improvements • 0.90.5 Added windows service • 0.90.4 random ordering Improved shard allocation Highlights in phrase suggestions Function scoring • 0.90.3 A new completing suggester Friday, September 27, 13
is strictly prohibited Improved shard allocation • Shard allocation based on free disk space. Disallow shard allocation a node Reallocate shards if free disk space gets low • Implemented as an allocation decider. • Options: cluster.routing.allocation.disk.threshold_enabled cluster.routing.allocation.disk.watermark.low cluster.routing.allocation.disk.watermark.high Friday, September 27, 13
is strictly prohibited Function score query • To customize the score for a matching document via functions. Support for decay, script and random functions boost factor & filters. • The function_score replaces existing custom scoring queries: custom_boost_factor custom_score custom_filters_score Friday, September 27, 13
is strictly prohibited Function score query • The function_score query have built-in decay functions. The score decays the further is gets from the origin. • There are several type of decay functions: gauss, exponential and linear • Example usage of decay functions: Restaurant near a certain location News articles near a specific date Friday, September 27, 13
is strictly prohibited Completion suggester • The completion suggester is designed for super fast as you type suggestions. Aimed for sub millisecond response times. • Good suggester reduces the number of search requests. • Currently in total three suggesters: term, phrase and completion Friday, September 27, 13
is strictly prohibited Completion suggester • Super fast because of in-memory FST Finite State Transducer • FSTs in CS are stored on disk and are NRT. Friday, September 27, 13
is strictly prohibited Completion suggester • The completion suggester is configured via a completion field in the mapping. Analyzer, whether to store payloads • During index time define suggest phrases. Multiple inputs, unified output and weighting. • Use the suggest api! Friday, September 27, 13
is strictly prohibited Completion suggester • Completion suggester can pinpoint users to the right document. • Enhancements added in 0.90.4: Fuzzy terms (edit distance based) Suggest statistics • A must read: http://www.elasticsearch.org/blog/you-complete-me/ Friday, September 27, 13
is strictly prohibited Upcoming new features • Snapshot and restore api • Distributed percolator • Aggregations • Lucene doc values support. Friday, September 27, 13
is strictly prohibited Snapshot and restore api • Currently there is no snapshot / restore feature. There is a backup / restore workaround. • Snapshot api will allow to create repositories. Repository in a shared fs or s3. • A cluster can be snapshotted into a repository. Friday, September 27, 13
is strictly prohibited Snapshot and restore api • A repository can hold multiple snapshots. A new snapshot will reuse data of previous snapshots. • The snapshot api will also allow specific indices to be snapshotted. • The restore api can restore a snapshot into a cluster. Friday, September 27, 13
: A coffee percolator is a type of pot used to brew coffee by continually cycling the boiling or nearly-boiling brew through ... Title : Coffee percolator Body : A coffee percolator is a type of pot used to brew coffee by continually cycling the boiling or nearly-boiling brew through ... Title : Coffee percolator Body : A coffee percolator is a type of pot used to brew coffee by continually cycling the boiling or nearly-boiling brew through ... Title : Coffee percolator Body : A coffee percolator is a type of pot used to brew coffee by continually cycling the boiling or nearly-boiling brew through ... 1. Coffee percolator 2. Plain old telephone service (pots) ... Hits Query Documents Friday, September 27, 13
: A coffee percolator is a type of pot used to brew coffee by continually cycling the boiling or nearly-boiling brew through ... 1. Coffee OR pots 2. boiling AND brew ... Matches Document Queries boiling AND brew other AND stuff Friday, September 27, 13
is strictly prohibited Distributed percolator • Workflow: Store and index Elasticsearch queries. Searching based on documents. • Use cases: Alerting and monitoring Classifying data Advertisement feed Friday, September 27, 13
queries are stored in a single shard _percolator system index that is auto replicated to all data nodes. • The distributed percolator allows queries to be stored in any index. (>= 1.0.x) Queries are stored under the _percolator type that any index can have. • The percolate api is now also multi tenant. Percolate across multiple indices and aliases Friday, September 27, 13
is strictly prohibited Aggregations • Facets are great! Get statistics over the complete query result set. • There are several facet types: terms, range, stats, histogram, geo_distance terms_stats • But there is often there is a need to combine different facets. So we need something more! Friday, September 27, 13