Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Neo4j 查询中参数对象的最大大小?_Neo4j_Graphaware_Neo4j Php Ogm - Fatal编程技术网

Neo4j 查询中参数对象的最大大小?

Neo4j 查询中参数对象的最大大小?,neo4j,graphaware,neo4j-php-ogm,Neo4j,Graphaware,Neo4j Php Ogm,我在用电脑 当运行带有“大”参数对象的查询时(大约200行打印精美,字段值最多30个字符),它会冻结 $queryparams对象如下所示 { "data": { "someproperty": 30000, "anotherproperty": "stringentry", <about 200 more like this here, partially nested> } } 变为长时间运行并由nginx分配时间

我在用电脑

当运行带有“大”参数对象的查询时(大约200行打印精美,字段值最多30个字符),它会冻结

$queryparams
对象如下所示

{
    "data": {
        "someproperty": 30000,
        "anotherproperty": "stringentry",
        <about 200 more like this here, partially nested>
    }
}
变为长时间运行并由nginx分配时间。我试过了

try
{
    $queryresult = $client->run($query, $queryparams);
} catch (Neo4jException $e)
{
    return "error";
}
无济于事

在neo4j浏览器中使用相同的参数运行相同的查询,我会立即得到结果

你知道是什么导致了这个问题吗?是格拉帕瓦吗


编辑:我发布得太快了,但这出乎我的意料:在我提到的垃圾堆中,
$queryparams
的某处有一个字段
“0”:…
。这就是造成问题的原因。这是预期的行为吗?

是的,只能使用地图键alphabetical@ChristopheWillemsen,这似乎不是全部:字母数字是允许的(甚至以数字开头),只要键不完全由数字组成。另外,当使用http而不是bolt时,我甚至可以使用数字键。仍然-php类真的打算冻结(而不是抛出异常)吗?是的,bolt也应该抛出异常,您是否能够提供查询和传递的参数转储,以便我为其创建测试
try
{
    $queryresult = $client->run($query, $queryparams);
} catch (Neo4jException $e)
{
    return "error";
}