问题描述
- solr 出现'Failure when receiving data from the peer
-
windows 10 php5.3.38 索引数据时出现以下错误
SolrClientException Object
(
[message:protected] => Solr HTTP Error 56: 'Failure when receiving data from the peer'
[string:Exception:private] =>
[code:protected] => 1004
[file:protected] => D:wwwwww.oyys-b2b.comoyysormproduct_class.php
[line:protected] => 710
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => D:wwwwww.oyys-b2b.comoyysormproduct_class.php
[line] => 710
[function] => addDocuments
[class] => SolrClient
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => SolrInputDocument Object
(
[_hashtable_index:SolrInputDocument:private] => 24465
)[1] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 5706 ) [2] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 28146 ) [3] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 23282 ) [4] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 16828 ) [5] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 9962 ) [6] => SolrInputDocument Object ( [_hashtable_index:SolrInputDocument:private] => 492 ) ) ) ) [1] => Array ( [file] => D:wwwwww.oyys-b2b.comindex.php [line] => 6 [function] => indexAll [class] => Product [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [sourceline:protected] => 447 [sourcefile:protected] => extsolrsolr_functions_client.c [zif_name:protected] => solr_make_request
)
利用的是php_solr.dll 扩展
有人遇到或者能指点下吗?
解决方案
ASPX:
C#
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
int index = e.Item.ItemIndex; //Get the index of......
答案就在这里:How to get the data from a cell when I click on the GridButtonColumn of the same row
时间: 2025-01-17 02:46:50