Hi,
We have a point ArcGIS Online Hosted Feature Layer that has been published for 6+ months.
Recently it was noticed that client-side filtering is not returning the correct results. e.g. if we have 1000 features with value 'X' in a layer with 10,000 features, we would expect 1000 features to show on the map when the filter of Field=X is applied.
However when applying the filter of Field = X, only 500 of these 1000 features show on the map in some 'soft' filter contexts.
This issue only occurs when the filter is not saved within the map/view e.g.:
It does work correctly when:
There's no discernable reason for the data to filter incorrectly as the values show count correctly, label correctly and also work in the contexts stated above.
We've also tried re-indexing the data, removing the index and re-adding the index.
Has anyone else experienced this issue or have any suggestions as to what might be the cause?
The timing of noticing this issue aligns with the June 2024 ArcGIS Online update. I understand there were some changes to filtering. This could be a red herring.
Thanks,
Chris
Solved! Go to Solution.
This sounds like a different issue.
Ours was 100% shown demonstrated that the filters and values were correct and recognised by the system, at least for looking at choice value counts and map/view filters.
For whatever reason the app filters didn't work as expected.
Tech support had no related reports.
We recalculated the impacted values, to be the same values, and it started working as expected again.
Never seen anything like it.
Can you share your web map/layer and I can take a look? You can share it to a group and invite russell_jsapi into it. thanks!
I have a similar issue when I’m not signed in. Sometimes only some of a field’s matching records appear, and then addition, I try to filter a particular field and continues to show all of them and when I save all of the features disappear!
For this map, the first case happens for the field Comunidad, and the second case occurs for the field Tip de Organización.
Procedure:
— Andy
Actually this occurs whether or not I’m logged in.
I couldn't reproduce the issue but noticed under the Types style you have a count of 38 features in other and with Other not enabled to display in the map. The filter you could be selecting is on a different field but could be for one of those Other values under Types which makes it seem like nothing is being displayed.
This sounds like a different issue.
Ours was 100% shown demonstrated that the filters and values were correct and recognised by the system, at least for looking at choice value counts and map/view filters.
For whatever reason the app filters didn't work as expected.
Tech support had no related reports.
We recalculated the impacted values, to be the same values, and it started working as expected again.
Never seen anything like it.