bounding boxes available in 7.1: LatLonBoundingBox • Indexed as a 4-dimensions point • Using BKD tree as a R tree • Upcoming general BKD-based shape support (7.x) BKD-based geo-shapes 16 Distance filter on geo points
produce iterators over (doc id, score) pairs, sorted by doc id • Score of a boolean query is the sum of the scores of its clauses Anatomy of a Lucene index/query 27
• minimum competitive score is 1 • “the” contributes at most 0.2 to the score • Then documents MUST match “fox” to be competitive WAND: intuition 38 Subtitle
non-decreasing current doc id • Sum up max scores until Σ max_score ≥ min_competitive_score • Return doc id of the first clause to meet this requirement WAND: algorithm 40 Subtitle
block in .doc (same file) • Offset in .pos (if positions indexed) • Offset in .pay (if offsets or payloads indexed) • List of competitive (freq, norm) pairs (NEW) • Makes it easy to know the upper bound of scores • Still allows to change Similarity on existing index Skip data 54
Creative Commons and the double C in a circle are registered trademarks of Creative Commons in the United States and other countries. Third party marks and brands are the property of their respective holders. 59 Please attribute Elastic with a link to elastic.co