August 2019
Intermediate to advanced
560 pages
13h 41m
English
The intervals query is similar to the span query, which provides fine-grain control, to some extent, over the order and the gap between the words of the query text. Let's look at an example to understand the meaning. The following screenshot shows an intervals query that fully satisfies two criteria. The first criterion is that the ETFs fund_name field must have the text MSCI Markets, with a gap of at most one word between.
The second criterion is that the ETFs fund_name field must have the text ETF, and it must appear after MSCI Markets.
The total number of hits is 4 ETFs:
If we change the value of max_gaps to 0
Read now
Unlock full access