When integrating SOLR and dot net Am getting following exception .Could anyone suggest me some ideas to resolve it.
**CODE**
using CommonServiceLocator;
using SolrNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solr8.Models;
using SolrNet.Commands.Parameters;
namespace Solr8
{
class Program
{
static void Main(string[] args)
{
ISolrOperations<Employee> solr =
ServiceLocator.Current.GetInstance<ISolrOperations<Employee>>();
var result = solr.Query(new SolrQuery("*:*"));
}
}
}
**ERROR**
SolrNet.Exceptions.SolrConnectionException: '<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404 Not Found</h2>
<table>
<tr><th>URI:</th><td>/solr//select</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
<tr><th>SERVLET:</th><td>default</td></tr>
</table>
</body>
</html>