Craig
08/08/2024, 10:00 AMconst getInputData = context => {
return search.load({id: '9256'});
}
This function is still running after three hours. The search has 255,000 results. Does this seem like an expected amount of time?Craig
08/08/2024, 10:04 AMNElliott
08/08/2024, 10:39 AMCraig
08/08/2024, 10:39 AMCraig
08/08/2024, 10:39 AMCraig
08/08/2024, 10:39 AMNElliott
08/08/2024, 10:40 AMNElliott
08/08/2024, 10:41 AMCraig
08/08/2024, 10:41 AMCraig
08/08/2024, 10:43 AMCraig
08/08/2024, 10:43 AMbattk
08/08/2024, 10:45 AMbattk
08/08/2024, 10:46 AMCraig
08/08/2024, 10:46 AMCraig
08/08/2024, 10:47 AMNElliott
08/08/2024, 10:48 AMCraig
08/08/2024, 10:49 AMconst getInputData = context => {
const search = search.load({id: '9256'});
const resultSet = [];
const pagedData = search.runPaged({ pageSize: 1000 });
pagedData.pageRanges.forEach(pageRange => {
const myPage = pagedData.fetch({ index: pageRange.index });
myPage.data.forEach(result => {
resultSet.push(result);
});
});
return resultSet;
}
Craig
08/08/2024, 10:49 AMNElliott
08/08/2024, 10:50 AMCraig
08/08/2024, 10:50 AMNElliott
08/08/2024, 10:50 AMCraig
08/08/2024, 10:51 AMNElliott
08/08/2024, 10:52 AMCraig
08/08/2024, 10:53 AMCraig
08/08/2024, 10:54 AMNElliott
08/08/2024, 11:06 AMbattk
08/08/2024, 11:11 AMCraig
08/08/2024, 11:12 AMCraig
08/08/2024, 11:13 AMCraig
08/08/2024, 11:13 AMbattk
08/08/2024, 11:20 AMbattk
08/08/2024, 11:21 AMCraig
08/08/2024, 11:37 AM