windows-solr 出现'Failure when receiving data from the peer

问题描述

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

时间: 2024-09-05 03:53:32

windows-solr 出现'Failure when receiving data from the peer的相关文章

Windows Phone开发(39):漫谈关键帧动画上篇

原文:Windows Phone开发(39):漫谈关键帧动画上篇 尽管前面介绍的几种动画会让觉得很好玩了,但是,不知道你是否发现,在前面说到的一系列XXXAnimation中,都有一个共同点,那就是仅仅针对两个值的目标值之间产生动画,如果使用By,将在原值和加上By后的目标值之间进行动画处理:如果使用From,To,那就更好理解了,就是首尾两个值之间值的动画. 那么,如果我希望三个值呢?或者N多个值呢?每个值之间的时间间隔不一样呢?如果我还希望更复杂的动画效果呢?比如可以附加缓动函数的.显然,前

MS SQL Could not obtain information about Windows NT group/user 'domain\login', error code 0x5. [SQLSTATE 42000] (Error 15404)

最近碰到一个有趣的错误:海外的一台数据库服务器上某些作业偶尔会报错,报错信息如下所示: ------------------------------------------------------------------------------------------------------------------------------------------------- 日期 2013/9/15 12:00:00 日志 作业历史记录 (JOB_SYNCHRONIZING_ESCM_DATA

Windows 7 出错:Cann't access Input/Mic device or device is already in use.

在Web中使用vaxsip时,拨号 出错:Windows 7 出错:Cann't access Input/Mic device or device is already in use. 解决方法: 系统右下角声音图标 右键->声音(S)->录制->麦克风->"右键"设置为默认设备(不是默认通信设备)  

wordpress无法安装这个包。: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\WINDOWS\TEMP/wordpress-4.tmp'

朋友的wp博客好久没管理了,让ytkah帮忙打理一下,进到后台发现版本还是3.9的,那是比较早以前的版本了,早该升级了. 在升级wordpress时出现以下错误: 无法安装这个包: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\Windows\TEMP/wordpress-4.tmp' 从错误本身来看,在升级wordpress或者安装插件的时候将临时文件存储在系统C:\Windows\TEMP,当没有这个文件夹或权限不够的时候就会

couldn't open file: data/coco.names

在ubuntu下配置yolo(v2)的时候,编译了源码后,尝试运行demo: ./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg 结果报错提示: couldn't open file: data/coco.names google上找不到同样的问题.那就是我的使用方式有问题了. 因为ubuntu上临时无法上网,从windows上用git clone下载的darknet的源码.然后vim查看了下源码文件,果然,都是dos格式的. 果断弃坑

越狱福音!Cydia完美兼容iOS 8及教程

自盘古 iOS8越狱工具发布之后,Cydia作者saurik就一直忙着更新和完善Cydia在iOS8系统上的兼容工作.今天凌晨,Cydia更新至最新版的1.1.14版本,正式兼容iOS8.随后盘古官方微博表示,此前已经越狱的用户可通过手机端的盘古直接安装Cydia 1.1.14版本,并且还他们还声称,若不出意外,集成Cydia的盘古越狱工具将在24小时内发布.已越狱设备安装最新版Cydia教程:(注:如在盘古App for iOS上面安装Cydia时报Failure when receiving

数据显示 Windows 10 将成全球最大桌面操作系统

微软在7月29日停止了Windows10免费更新服务,并宣布到2018财政年度创造10亿新系统用户的目标无法实现.尽管如此,第三方数据显示,Windows 10的安装率势头良好.9月份调查数据显示Windows 10市场占有率已接近25%,这意味着它将成为全球最大桌面操作系统.对于一个于一年前刚推出的操作系统来说这无疑是一个巨大的成就,但另一方面,回顾微软在过去一段时间的迅猛扩张,这个市场份额略低于预期. 很明显,在仅仅推出一年后就取代Windows 7成为第一是一项不可能的任务,因此微软应该对

微软今晚正式发布Windows 8

本次发布的Windows 8共有:Windows 8.Windows 8Pro.Windows 8企业版.Windows 8 RT等四个版本,相比之下,Windows 7发布了六个版本.发布会上还将发售Surface RT平板电脑. Windows 8操作系统将是微软在过去至少17年里的最大变革,也是微软首次基于触摸控制进行开发,将支持全屏触摸和多点触控虚拟键盘.不过这款操作系统同时也可以切换到人们所熟悉的桌面模式,允许用户通过键盘和鼠标进行操控. PC行业的黄金时期已经结束,并且开始走下坡路,

【转】A little more info on raw sockets and Windows XP SP2

 http://blogs.msdn.com/michael_howard/archive/2004/08/12/213611.aspx There's been a little confusion about raw sockets and Windows XP SP2. Hopefully, this little entry from the "Changes in functionality..." doc (see my last blog entry for an URL