<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mashup custom search problem (selectAssociations limit) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530529#M9864</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45449"&gt;@Aiham_Azmeh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. It's really useful.&lt;/P&gt;&lt;P&gt;I'll try to chain the selectAssociations calls and check how the search performs.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 15:14:54 GMT</pubDate>
    <dc:creator>gabineaq</dc:creator>
    <dc:date>2019-01-15T15:14:54Z</dc:date>
    <item>
      <title>Mashup custom search problem (selectAssociations limit)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530459#M9862</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I've built a mashup with a custom search function using Capability API. I'm using the searchResults and selectAssociations methods. My mashup works perfectly fine with 8 - 10 search items.&lt;/P&gt;
&lt;P&gt;However, when I select 11 or more items, for example 11 stores (store 1, store 2, ...., store 11), the selection doesn't work. The error that I receive in Chrome dev console is this:&lt;BR /&gt;code: 15000, parameter: "Search query took to long", message: "Search timeout".&lt;/P&gt;
&lt;P&gt;It seems that selectAssociations has a search limit.&lt;/P&gt;
&lt;P&gt;Is there something I can do to optimize the response time or to bypass the limit, if the limit exists?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530459#M9862</guid>
      <dc:creator>gabineaq</dc:creator>
      <dc:date>2021-08-13T19:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup custom search problem (selectAssociations limit)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530521#M9863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16918"&gt;@gabineaq&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is a known issue, the smart search team have been contacted and will deal with by either documenting a limitation or fix it.&lt;/P&gt;
&lt;P&gt;A possible workaround will be to split the array of search terms in 2 or more arrays then chain the selectAssociations calls&lt;/P&gt;
&lt;PRE&gt;const searchTermsPart1 = ['store1','store2','store3','store4'];
const searchTermsPart2 = ['store5','store6','store7','store8'];
app.selectAssociations( 0, searchTermsPart1 ).then(()=&amp;gt;{
  app.selectAssociations( 0, searchTermsPart2 );
});
// nicer if used with async await&lt;/PRE&gt;
&lt;P&gt;I hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530521#M9863</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2019-01-15T15:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup custom search problem (selectAssociations limit)</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530529#M9864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45449"&gt;@Aiham_Azmeh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. It's really useful.&lt;/P&gt;&lt;P&gt;I'll try to chain the selectAssociations calls and check how the search performs.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-custom-search-problem-selectAssociations-limit/m-p/1530529#M9864</guid>
      <dc:creator>gabineaq</dc:creator>
      <dc:date>2019-01-15T15:14:54Z</dc:date>
    </item>
  </channel>
</rss>

