FOMO Daily
Feed
AWS Big Data·

Understanding span queries in Amazon OpenSearch Service

DatabasesOpenSearchSpan QueriesFull-Text Search

TL;DR

Phrase queries with flexible spacing can return unwanted matches because they don’t reliably enforce term order or placement. Amazon OpenSearch Service’s span queries let you combine rules for word order, proximity, field position, and containment to express those constraints. They take more care to write, but enable precise searches for legal, compliance, and scientific workloads without restructuring the underlying data.

Relevant links

Sign in to save links
Read the original post Sign in to mark as read or skip