Getting error in SolrNet

107 views Asked by At

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

public void IndexPlayers()
{
    new SolrBaseRepository.Instance<Player>().Start();

    var solr = ServiceLocator.Current.GetInstance<ISolrOperations<Player>>();
    var players = new PlayerRepository().GetPlayers();

    solr.Add(players);
    solr.Commit();
}

while add players in Solr .

0

There are 0 answers