I want to add record with Solr.net I am getting Error.

The remote server returned an error: (400) Bad Request.

my code is like this.

In Schema file

field name="id" type="int" indexed="true" stored="true" required="true" /&gt;&lt;br&gt;
field name="Tags" type="string" indexed="true" stored="true" multiValued="true"/&gt;


In my class

public class ProductTest2
{
  [SolrUniqueKey("id")]
  public int Id { get; set; }
[SolrField("Tags")]
public Dictionary&lt;string, string&gt; Tags { get; set; }
}


Code where I want to add new Rows

solr.Add(new ProductTest2()
{
  Id = i,
  Tags = new Dictionary&lt;string, string&gt; { { Convert.ToString(dt.Rows[i]["Filter1_ID"]), Convert.ToString(dt.Rows[i]["Filter1"]) } }
}
solr.Commit();


When I execute this code its showing error. But if I Remove the Dictionary Type and add another type then working fine. please suggest me what type I should give for Dictionary.
currently i have used type="string".

Thanks in Advance.
Ashutosh
9818842034


Question: Why all the dice?
Answer: Short answer: Yes, your hunch is right: because probability curves, and easy access to them. 

Sure, you could calculate (for example by using AnyDice) in advance the percentage chances of rolling a 2, a 3, a 4 etc on a 3d6, but mapping and rolling everything so would get messy and totally inconvenient practically in an instant. You want predictably varying distribution, bell curves, etc, and all this at your fingertips without having to use a calculator or other app.

Also, dice are nice. It's great to roll them. Look, how they twist and spin and decide your fate. :D