Street Number Range Search

We have two fields Street Number 1 & Street Number 2 in Elastic Search. We also have an Address field in Elastic Search and Address is a combination of 2 fields with some other fields. So we have an address as:

  • 1604-1612 Calver Building
  • 1608- 1645 Park House

If the user is searching with 1610 both the address should be returned.

Any help of how the query should be formed?

So a range query on the first number and a range query on the second number all wrapped in a bool query inside the filter clause?

I didn't see this was cross-posted but an answer is available here:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.