2013-10-23 67 views
0

Out store基於FEP4和Madisons。Websphere Commerce + SolR:解決相同的SolR查詢 - 如何調試?

當我們重新加載我們的商店首頁時,我們看到如下所示的相同SolR調用的突發。

編輯:請注意,它是查找完全相同的產品。因此,如果我們有2個產品,我們會看到2 * 12 = 24個查找,並且有兩組12個相同的調用緊接在一起。

我們如何找出導致這些被解僱的原因?是的,結果很可能會被緩存,但是這是每個產品,和沉重的頁面上的XMIT /得/解壓縮/存儲工作加起來幾秒鐘......

[10/23/13 18:27:26:933 CEST] 00000160 SystemOut  O WARN [threadName='WebContainer : 0'] UserDataHelper.getXMBRCLUBRELAccessBean - No XMbrClubRel entry was found for userId -1002 in club 001 
[10/23/13 18:27:27:217 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:250059&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
[10/23/13 18:27:27:282 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:250059&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
[10/23/13 18:27:27:353 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:250059&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
[10/23/13 18:27:27:445 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:246411&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=6 
[10/23/13 18:27:27:526 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:246411&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=6 
[10/23/13 18:27:27:594 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:246411&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
[10/23/13 18:27:27:681 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:243989&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=5 
[10/23/13 18:27:27:748 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:243989&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
[10/23/13 18:27:27:818 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:243989&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=8 
[10/23/13 18:27:27:902 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:250059&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=8 
[10/23/13 18:27:27:965 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:246411&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=6 
[10/23/13 18:27:28:033 CEST] 00000162 SolrCore  I org.apache.solr.core.SolrCore execute [MC_10001_CatalogEntry_da_DK] webapp=/solr path=/select params={q=catentry_id:243989&start=0&timeAllowed=5000&wt=javabin&version=1&fq=storeent_id:("10151"+"10051")&fq=published:1&fq=(+%2B((((+%2BparentCatgroup_id_search:10001_10001+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_24451+%2Bads_f17_ntk_cs:"1")+(+%2BparentCatgroup_id_search:10001_32968+%2Bads_f17_ntk_cs:"1")+parentCatgroup_id_search:10001_32972+(+%2BparentCatgroup_id_search:10001_32973+%2Bads_f17_ntk_cs:"1"))+productset_id:("10004")+)+productset_id:("10003")+)+%2B*:*)&debugQuery=false&fl=catentry_id,price_DKK,storeent_id&rows=50} hits=1 status=0 QTime=7 
+0

您是否打開了數據對象緩存? – rabs

+0

對不起,這個問題已經變得與大家無關。我辭了工作,所以永遠無法跟進任何建議:( –

+0

退出與商業合作的工作 - 聰明的決定! – rabs

回答

1

看起來這是一個對於某些類別或搜索頁面。在哪裏爲每個產品/項目面板運行solr調用(CatalogNavigationView BOD調用內部觸發的jsp)以獲取詳細信息。

通過將多個唯一ID傳遞給單個BOD調用,您可以通過在單個BOD調用中獲取所有數據來更改代碼流的方式。

此外,我覺得SOLR調用本質上很輕,所以這些調用沒有太多的性能缺陷。

+0

嗨Santosh。好的建議,但請注意,通話是完全一樣的。這是來自同一頁面的同一產品的12次查找!我們從類別頁面看到的是(產品數量)* 12個電話 –