laptop and a wrench

Bogue

Search by layer with the contains method does not return expected results in Map Viewer and Map Viewer Classic if the map uses a string field with a length greater than 4000 as the search source.

Dernière publication: February 9, 2023 ArcGIS Online
Numéro d’ID de bogue BUG-000155622
EnvoiFebruary 4, 2023
Dernière modificationJune 5, 2024
S’applique àArcGIS Online
Version trouvéeNovember 2022
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutKnown Limit

Informations supplémentaires

This is a known limitation with the full-text index building on the backend. An index cannot be built on fields with a length of more than 4000. The change is the search that uses WHERE and starts with a based query because no index exists on the field. If an index exists, it searches the terms that make up the rows with a prefix-based search.

Solution de contournement

Remove any fields with a length of more than 4000 from the web maps Search by layer sources.

Alternatively, create a field with a length less than 4000, calculate the attributes from the existing field (that is longer than 4000), and use this new field as the search source for the web map's Search by layer.

Étapes pour reproduire

ID de bogue: BUG-000155622

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement