简体   繁体   English

当高级查询超过999条记录时,IBM Advanced Find JSONStore会显示“ INVALID_SEARCH_FIELD”

[英]IBM Advanced Find JSONStore saying “INVALID_SEARCH_FIELD” when the advanced query exceeds 999 records

VERSION OF MFP JSONSTORE PLUGIN: 8.0.2017033009 MFP JSONSTORE插件的版本:8.0.2017033009

Hi I have a JSONStore with 2000 records and want to filter out only 1217 records from them which are similar to one property. 嗨,我有一个包含2000条记录的JSONStore,并且想从中仅过滤出1217条与一个属性相似的记录。

So i used WL.JSONStore.QueryPart().inside('PROPERTY', [...PROPERTYVALUEARRAY]); 所以我用了WL.JSONStore.QueryPart().inside('PROPERTY', [...PROPERTYVALUEARRAY]);

Everything works fine till PROPERTYVALUEARRAY is limited to 999 records but when it exceeds/touches 1000 we are doomed the JSONstore API as below started returning the error as in picture. 一切正常,直到PROPERTYVALUEARRAY被限制为999条记录,但是当它超过/达到1000条记录时,我们注定了JSONstore API,如下图所示,开始返回错误,如图所示。

WL.JSONStore.get("JSONSTORENAME").advancedFind([query]).then(res => { console.log(res)}).fail(res => { console.log(res)});

在此处输入图片说明

Retrieving huge/large JSONStore data has been fixed in latest ifix releases . 最新的ifix版本已修复了检索大量JSONStore数据的问题。

Use ifix version later than iFix 8.0.0.0-MFPF-IF20170705-1849. 使用高于iFix 8.0.0.0-MFPF-IF20170705-1849的ifix版本。

For more details about iFix release see here : MobileFirst Foundation iFix 8.0.0.0-MFPF-IF20170705-1849 released 有关iFix版本的更多详细信息,请参见此处: MobileFirst Foundation iFix 8.0.0.0-MFPF-IF20170705-1849已发布

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM