No index array nested in other array

I have the following problem, when I try indexing with FTS an arrangement that is nested does not index the field I want. What recommendations do you give me?

This is the structure of the document. The field is harmonized_number of array harmonizeds that is inside the array loads and this will be inside the array containers

{
“containers”: [
{
“container_number”: “ACLU5971754”,
“seal_number_1”: “G4608888”,
“equipment_description_code_name”: “Container”,
“container_length”: 4000,
“container_height”: 900,
“container_width”: 800,
“container_type”: “4532”,
“load_status”: “L”,
“type_of_service”: “HH”,
“loads”: [
{
“cargo_id”: 1,
“piece_count”: 9,
“description_text”: “COMPRISING OF FORD FARM CHEESE PO NO. 383084 FDA NO.17598444354 CONTAINERS SAID TO CONTAIN”,
“harmonizeds”: [
{
“harmonized_number”: null,
“harmonized_value”: 39991,
“harmonized_weight”: 19996,
“harmonized_weight_unit”: “KG”
}
]
}
],
“marks_and_numbers”: “NO MARKS . .”
}
],
“master_bol_number”: “ACLUSA00330726”,
“voyage_number”: “ATE21”,
“bill_type_code”: “02”,
“manifest_number”: “1”,
“trade_update_date”: “2020-01-09”,
“run_date”: “2020-01-10”,
“carrier_code”: “ACLU”,
“vessel_country_code”: “GB”,
“vessel_name”: “ATLANTIC SEA”,
“port_of_unlading_name”: “New York/Newark Area, Newark, New Jersey”,
“estimated_arrival_date”: “2018-12-30”,
“foreign_port_of_lading_qualifier”: “K”,
“foreign_port_of_lading_name”: “Liverpool,United Kingdom”,
“manifest_quantity”: 950,
“manifest_unit”: “PCS”,
“weight”: 19996,
“weight_unit”: “KG”,
“measurement”: 1,
“measurement_unit”: “CM”,
“record_status_indicator”: “A”,
“place_of_receipt”: “DITCHEAT - SHEPTO”,
“conveyance_id_qualifier”: “03”,
“conveyance_id”: “9670597”,
“mode_of_transportation”: “11”,
“actual_arrival_date”: “2019-01-03”,
“shipper_name”: “ASHLEY CHASE ESTATE”,
“shipper_address”: “PARKS FARM LITTON CHENEY DORCHESTER DT2 9AZ GB”,
“shipper_communication”: ,
“consignee_name”: “FORD FARM USA LLC”,
“consignee_address”: “64-30 181 STREET FRESH MEADOWS NY 11365 US”,
“consignee_communication”: ,
“notify_party”: [
{
“notify_party_name”: “FORD FARM USA LLC”,
“notify_party_address”: “64-30 181 STREET FRESH MEADOWS NY 11365 US”,
“notify_party_communication”:
},
{
“notify_party_name”: “ALL WAYS FORWARDING”,
“notify_party_address”: “701 NEWARK AVE SUITE 300 ELIZABETH NJ 07208 US”,
“notify_party_communication”:
}
],
“type”: “bill”,
“containers_count”: 1
}

@nelsonxx1 Sharing your index definition here will help us guide you better.

Looking at your document structure, here’s what should work …

default <mapping>
|--> containers{} <child mapping>
          |--> loads{} <child mapping>
                   |--> harmonizeds{} <child mapping>
                            |--> harmonized_number <child field>

With the above mapping within your index - the field “containers.loads.harmonizeds.harmonized_number” will be searchable.

Here’s documentation on setting up indexes …
https://docs.couchbase.com/server/6.6/fts/fts-creating-indexes.html