Understanding the INT Array for Matches in Search

Hi Everyone,

I was wondering if someone could explain whathe the INT array in the matches mean? For example when I get the results of a company search I get the following:

‘matches’: {‘title’: [1, 10, 12, 19], ‘snippet’: [1, 10, 12, 19, 44, 53, 55, 62]}

What do these numbers correspond to?

Many thanks.

See the search documentation here:

An array of character offset into the title string. These always occur in pairs and define the start and end of substrings in the member title that matched the search terms. The first character of the string is index 1.

The same applies to e.g. snippet.

Hope this helps.