Select to view content in your preferred language

Search widget in ArcGIS Online - issues since November 22 update

718
6
12-09-2022 09:01 AM
Geraldine
New Contributor III

@Russell_J 

The search widget has been modified to use full text indexes in the November update of ArcGIS Online and since then, doesn't work as it should in existing maps. Searches with 'contains' work as 'starts with' or just don't return anything.

This is supposed to be solved by saving the map so it's upgraded and takes advantage of the new search function. I could successfully do this with a few maps, but not all.

Another way is to use the addToDefinition method on the REST point of the hosted feature layer. I've encountered 2 issues with this option:

1. this method doesn't work if the layer has related views (see map 'Erfgoed' and layer 'Domein', search is set on field 'Domein' with keyword 'Contains').

2 even if the full text index is added, the search still doesn't work properly (see map 'PFAS' and layer 'domein_PFAS', search is set on field 'Domein' with keyword 'Contains').

0 Kudos
6 Replies
RussRoberts
Esri Notable Contributor

I tossed a sample copy of a Domein search can you see if that now works as you expect? It has an index on the layer.

For my cases I am able to create FT indexes on a layer when it has a view and through the view layer map.

Here is a sample of the search I created. I commented on the case ticket not sure if that goes through to you.

RussellRoberts1_0-1670605617257.png

 

0 Kudos
Geraldine
New Contributor III

It works indeed with 'domein_centroid_ PFAS (points), but my search is on 'domein_PFAS' (the polygons) and it still doesn't work... is it related to the geometry type??? The layers I could successfully update are all lines.

0 Kudos
RussRoberts
Esri Notable Contributor

Nope I was able to copy and create an index on that one too with the copy I made of it. Can you drop the polygon one into a new temporary map and create a search off of it?

RussellRoberts1_0-1670608465281.png

 

0 Kudos
Geraldine
New Contributor III

I've added the layer to a new map, also saved the layer as a new layer and added it to a new map. In both cases the search works as 'starts with' instead of 'contains':

pic.png

0 Kudos
RussRoberts
Esri Notable Contributor

Something might of happened when creating or manually adding the index to the definition. I commented on the support case for some info we will need to probably go in and remove & re-add. 

0 Kudos
Geraldine
New Contributor III

Thanks for the follow up Russel, should I do anything?

0 Kudos