<?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>Question Re: Product zipcode solr query performance in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaa-p/12148268#M418395</link>
    <description>&lt;P&gt;Abhinav, I assume you are indexing all applicable zipcodes of the product to solr in  document. What solr attribute type (multivalue, string, text) are you using to store this zipcode data?&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 22:08:43 GMT</pubDate>
    <dc:creator>pgundoju</dc:creator>
    <dc:date>2020-05-15T22:08:43Z</dc:date>
    <item>
      <title>Product zipcode solr query performance</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaq-p/12148266</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;We have a requirement where we have to filter products associated with a zipcode. &lt;/P&gt;
  &lt;P&gt;We have around 100 products associated to around 2000 zip codes. In total there are around 2 lakh records having product to zipcode relation.&lt;/P&gt;
  &lt;P&gt;We have indexed the zip code attribute in solr with product indexed type.&lt;/P&gt;
  &lt;P&gt;However, while fetching the product search results it is taking around 20 seconds. If we do not index zipcode the product search results come in under 500 ms &lt;/P&gt;
  &lt;P&gt;Please suggest how to improve solr query search performance with zipcode indexed.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 06:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaq-p/12148266</guid>
      <dc:creator>abhinavsingh11</dc:creator>
      <dc:date>2020-05-12T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Product zipcode solr query performance</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaa-p/12148267#M418394</link>
      <description>&lt;P&gt;Are you sure that it takes 20 seconds to retrieve data from Solr and is not just the task that will be done after they were retrieved?&lt;/P&gt;&lt;P&gt;Further, did you filter the zipcodes via code? If yes I would assume that iterating over a huge list of Products would cause such a delay.&lt;/P&gt;&lt;P&gt;Could you analyze the query that is sent to Solr and try to send it to Solr manually and check if it still needs 20 secs?&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 06:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaa-p/12148267#M418394</guid>
      <dc:creator>StefanKruk</dc:creator>
      <dc:date>2020-05-12T06:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Product zipcode solr query performance</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaa-p/12148268#M418395</link>
      <description>&lt;P&gt;Abhinav, I assume you are indexing all applicable zipcodes of the product to solr in  document. What solr attribute type (multivalue, string, text) are you using to store this zipcode data?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 22:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/product-zipcode-solr-query-performance/qaa-p/12148268#M418395</guid>
      <dc:creator>pgundoju</dc:creator>
      <dc:date>2020-05-15T22:08:43Z</dc:date>
    </item>
  </channel>
</rss>

