We are working on ASP.NET MVC3 C# with SolrNet 3.6.
We have used dynamic fields. There are whitespaces in dynamic fields names: e.g Filter_SIM Slots:Single SIM.
How can I remove whitespaces from dynamic field names? (Here Filter_SIM Slots)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The whitespace in the field names is because the keys in your Dictionary Object that you have mapped to your dynamic field in your mapping class have spaces in them. If you scrub/parse the key values to remove the whitespaces, your dynamic fields should be corrected as well.