SolrNetを使用してWebサービスからSolrサーバーを検索しようとしています。経て、私はクラスファイル内のサーバーを照会しようとしているStartup.Init<ApartmentDoc>("http://192.168.0.100:8080/solr/");
SolrNetエラー - トランスポート接続からデータを読み取ることができません:接続が閉じられました
:私は、Global.asaxの中に接続を設定
var solr = ServiceLocator.Current.GetInstance<ISolrOperations<ApartmentDoc>>();
var apartments = solr.Query(SolrQuery.All, new QueryOptions
{
ExtraParams = new Dictionary<string, string> {
{ "defType", "edismax" } ,
{ "fl", "*,score,_dist_:geodist() " } ,
{ "bf", "recip(geodist(),1,1000,1000)" } ,
{ "fq", string.Format("{{!geofilt d={0}}}", radius * 1.609344) } ,
{ "sfield", "Location" } ,
{ "pt", string.Format("{0},{1}", centerLat, centerLong) }
}
});
return apartments;
私は取得していますエラーは次のとおりです。Unable to read data from the transport connection: The connection was closed.
私はTomCatのログをチェックしています。要求は完了しており、結果は返されたようです。
なぜ結果が戻ってこないのですか? 「行」パラメータは、コード内で定義されていなかったとして
おかげで、 ドリュー