r/sharepoint • u/Jumpy_Confection7366 • 18h ago
SharePoint Online Filters with Special Characters Returning Zero Results
Inconsistent behavior has been identified in the search implemented with PnP Modern Search in SharePoint Online.
The filters are displayed correctly, show a consistent document count, and retrieve the values stored in the Managed Property. However, when selecting values that contain special characters (accents, cedillas, etc.), the search returns 0 results, even if there are documents associated with the selected value.
This behavior does not occur with values without accents. The filter displays the correct number of documents. When the value is selected, the result is 0 documents. A test was performed using KQL directly, and the documents were returned correctly.
✅ The documents are indexed.
✅ The Managed Property is populated.
✅ The Search Schema is functional.
✅ Direct queries in KQL return the expected documents.
✅ The refiner retrieves the values correctly.
✅ The refiner correctly calculates the document count.
❌ Applying the filter through the PnP Search Filters component returns 0 results when the selected value contains special characters.
Has anyone else encountered this issue? What should be done in this situation?