Unable to delete uniqueid strings which has special characters.

9 views
Skip to first unread message

SathishKumar S

unread,
Jun 25, 2020, 7:41:42 AM6/25/20
to SolrNet
When i tried to delete records by ids, some of the ids has special characters and those are not get deleted. 

var solr = ServiceLocator.Current.GetInstance<ISolrOperations<Users>>();
List<string> ids = usersList.Select(t => t.UserName).ToList();
solr.Delete(ids);
solr.Commit();

The name without special characters are getting deleted and some name with only lower case (small characters) are not getting deleted.

What am i missing?
Reply all
Reply to author
Forward
0 new messages