[INFO] [URAlgorithm] Query received, user id: Some(sasha), item id: None
[INFO] [URAlgorithm] Misconfigured date information, either your engine.json date settings or your query's dateRange is incorrect.
Ingoring date information for this query.
[INFO] [URAlgorithm] Query:
{"size":20,"query":{"bool":{"should":[{"terms":{"buy":["prod1","prod19","prod30","prod16","prod4","prod24"]}},{"terms":{"view":["prod1","prod17","prod19","prod24","prod25","prod14","prod6","prod16","mobile","apple","android","asus","amazon-kindle","laptops","birthday","prod4"]}},{"terms":{"like":["prod24","prod19","prod16","prod1","android","apple","amazon-kindle"]}},{"terms":{"rate":[]}},{"terms":{"share":["prod19","prod24","prod16","apple","android","laptops","prod4"]}},{"terms":{"click":["prod1","prod18","prod19","prod6","prod24","prod21","mobile","apple","laptops","android","asus","pc","prod4","birthday"]}},{"terms":{"show":["prod30","android"]}},{"terms":{"comment":[]}},{"constant_score":{"filter":{"match_all":{}},"boost":0}}],"must":[],"must_not":{"ids":{"values":["prod24","prod4","prod16","prod30","prod19","prod1"],"boost":0}},"minimum_should_match":1}},"sort":[{"_score":{"order":"desc"}},{"popRank":{"unmapped_type":"double","order":"desc"}}]}
[ERROR] [ServerActor] Query:
{
"user" : "sasha"
}
Stack Trace:
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[0DVj5f1DSBGNPAltinMORQ][urindex_1485170227611][0]: QueryPhaseExecutionException[[urindex_1485170227611][0]: query[((buy:prod1 buy:prod19 buy:prod30 buy:prod16 buy:prod4 buy:prod24) (view:prod1 view:prod17 view:prod19 view:prod24 view:prod25 view:prod14 view:prod6 view:prod16 view:mobile view:apple view:android view:asus view:amazon-kindle view:laptops view:birthday view:prod4) (like:prod24 like:prod19 like:prod16 like:prod1 like:android like:apple like:amazon-kindle) () (share:prod19 share:prod24 share:prod16 share:apple share:android share:laptops share:prod4) (click:prod1 click:prod18 click:prod19 click:prod6 click:prod24 click:prod21 click:mobile click:apple click:laptops click:android click:asus click:pc click:prod4 click:birthday) (show:prod30 show:android) () ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod1 _uid:items#prod16 _uid:items#prod19 _uid:items#prod24 _uid:items#prod30 _uid:items#prod4 _uid:products#prod1 _uid:products#prod16 _uid:products#prod19 _uid:products#prod24 _uid:products#prod30 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@354cc1d8>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[0DVj5f1DSBGNPAltinMORQ][urindex_1485170227611][1]: QueryPhaseExecutionException[[urindex_1485170227611][1]: query[((buy:prod1 buy:prod19 buy:prod30 buy:prod16 buy:prod4 buy:prod24) (view:prod1 view:prod17 view:prod19 view:prod24 view:prod25 view:prod14 view:prod6 view:prod16 view:mobile view:apple view:android view:asus view:amazon-kindle view:laptops view:birthday view:prod4) (like:prod24 like:prod19 like:prod16 like:prod1 like:android like:apple like:amazon-kindle) () (share:prod19 share:prod24 share:prod16 share:apple share:android share:laptops share:prod4) (click:prod1 click:prod18 click:prod19 click:prod6 click:prod24 click:prod21 click:mobile click:apple click:laptops click:android click:asus click:pc click:prod4 click:birthday) (show:prod30 show:android) () ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod1 _uid:items#prod16 _uid:items#prod19 _uid:items#prod24 _uid:items#prod30 _uid:items#prod4 _uid:products#prod1 _uid:products#prod16 _uid:products#prod19 _uid:products#prod24 _uid:products#prod30 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@384ea1e0>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[0DVj5f1DSBGNPAltinMORQ][urindex_1485170227611][2]: QueryPhaseExecutionException[[urindex_1485170227611][2]: query[((buy:prod1 buy:prod19 buy:prod30 buy:prod16 buy:prod4 buy:prod24) (view:prod1 view:prod17 view:prod19 view:prod24 view:prod25 view:prod14 view:prod6 view:prod16 view:mobile view:apple view:android view:asus view:amazon-kindle view:laptops view:birthday view:prod4) (like:prod24 like:prod19 like:prod16 like:prod1 like:android like:apple like:amazon-kindle) () (share:prod19 share:prod24 share:prod16 share:apple share:android share:laptops share:prod4) (click:prod1 click:prod18 click:prod19 click:prod6 click:prod24 click:prod21 click:mobile click:apple click:laptops click:android click:asus click:pc click:prod4 click:birthday) (show:prod30 show:android) () ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod1 _uid:items#prod16 _uid:items#prod19 _uid:items#prod24 _uid:items#prod30 _uid:items#prod4 _uid:products#prod1 _uid:products#prod16 _uid:products#prod19 _uid:products#prod24 _uid:products#prod30 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@1a04175b>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[0DVj5f1DSBGNPAltinMORQ][urindex_1485170227611][3]: QueryPhaseExecutionException[[urindex_1485170227611][3]: query[((buy:prod1 buy:prod19 buy:prod30 buy:prod16 buy:prod4 buy:prod24) (view:prod1 view:prod17 view:prod19 view:prod24 view:prod25 view:prod14 view:prod6 view:prod16 view:mobile view:apple view:android view:asus view:amazon-kindle view:laptops view:birthday view:prod4) (like:prod24 like:prod19 like:prod16 like:prod1 like:android like:apple like:amazon-kindle) () (share:prod19 share:prod24 share:prod16 share:apple share:android share:laptops share:prod4) (click:prod1 click:prod18 click:prod19 click:prod6 click:prod24 click:prod21 click:mobile click:apple click:laptops click:android click:asus click:pc click:prod4 click:birthday) (show:prod30 show:android) () ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod1 _uid:items#prod16 _uid:items#prod19 _uid:items#prod24 _uid:items#prod30 _uid:items#prod4 _uid:products#prod1 _uid:products#prod16 _uid:products#prod19 _uid:products#prod24 _uid:products#prod30 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@25e7339>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[0DVj5f1DSBGNPAltinMORQ][urindex_1485170227611][4]: QueryPhaseExecutionException[[urindex_1485170227611][4]: query[((buy:prod1 buy:prod19 buy:prod30 buy:prod16 buy:prod4 buy:prod24) (view:prod1 view:prod17 view:prod19 view:prod24 view:prod25 view:prod14 view:prod6 view:prod16 view:mobile view:apple view:android view:asus view:amazon-kindle view:laptops view:birthday view:prod4) (like:prod24 like:prod19 like:prod16 like:prod1 like:android like:apple like:amazon-kindle) () (share:prod19 share:prod24 share:prod16 share:apple share:android share:laptops share:prod4) (click:prod1 click:prod18 click:prod19 click:prod6 click:prod24 click:prod21 click:mobile click:apple click:laptops click:android click:asus click:pc click:prod4 click:birthday) (show:prod30 show:android) () ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod1 _uid:items#prod16 _uid:items#prod19 _uid:items#prod24 _uid:items#prod30 _uid:items#prod4 _uid:products#prod1 _uid:products#prod16 _uid:products#prod19 _uid:products#prod24 _uid:products#prod30 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@48273dde>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:237)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:183)
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:565)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[{"eventId":"F5deKVqES9FxJJrihYrqMAAAAVnPuBFCoRTyf4OB0go","event":"$set","entityType":"product","entityId":"prod1","properties":{"uid":["prod1"]},"eventTime":"2017-01-24T09:04:23.874Z","creationTime":"2017-01-24T09:04:23.884Z"},{"eventId":"H37UPoNX8-sleZd7a-YIPQAAAVnPviPykm75xg9Atd0","event":"$set","entityType":"cart","entityId":"fb1bbd30-acbc-4d91-ab08-3172ce1a8122","properties":{},"eventTime":"2017-01-24T09:11:01.874Z","creationTime":"2017-01-24T09:11:01.877Z"},{"eventId":"H37UPoNX8-sleZd7a-YIPQAAAVnPviP7smJfZQQix3Y","event":"add_to_cart","entityType":"cart","entityId":"fb1bbd30-acbc-4d91-ab08-3172ce1a8122","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:11:01.883Z","creationTime":"2017-01-24T09:11:01.886Z"},{"eventId":"H37UPoNX8-sleZd7a-YIPQAAAVnPviQ5glPHsUE1Kak","event":"add_to_cart","entityType":"cart","entityId":"fb1bbd30-acbc-4d91-ab08-3172ce1a8122","targetEntityType":"product","targetEntityId":"prod5","properties":{},"eventTime":"2017-01-24T09:11:01.945Z","creationTime":"2017-01-24T09:11:01.948Z"},{"eventId":"JIf_x3HySZDq9PPEpb53zgAAAVnPuBW_iKQ2gw_-hS8","event":"$set","entityType":"product","entityId":"prod5","properties":{"uid":["prod5"]},"eventTime":"2017-01-24T09:04:25.023Z","creationTime":"2017-01-24T09:04:25.027Z"},{"eventId":"NW1c890Kiyt1NH3WLMTTxAAAAVnPuBRjl6SXaEr535I","event":"$set","entityType":"product","entityId":"prod3","properties":{"uid":["prod3"]},"eventTime":"2017-01-24T09:04:24.675Z","creationTime":"2017-01-24T09:04:24.679Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPuMUxt1KBxc8XPW8","event":"$set","entityType":"user","entityId":"alice","properties":{},"eventTime":"2017-01-24T09:05:09.937Z","creationTime":"2017-01-24T09:05:09.941Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFD4sIS9kg1zRO0","event":"view","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:09:02.328Z","creationTime":"2017-01-24T09:09:02.334Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFGrvhG_TraSGUE","event":"view","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod4","properties":{},"eventTime":"2017-01-24T09:09:02.507Z","creationTime":"2017-01-24T09:09:02.511Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFHggFOHUkPssjM","event":"view","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod5","properties":{},"eventTime":"2017-01-24T09:09:02.560Z","creationTime":"2017-01-24T09:09:02.563Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFLkjgMHBl8encc","event":"buy","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:09:02.820Z","creationTime":"2017-01-24T09:09:02.823Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFMCrWXzOme-kWI","event":"buy","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:09:02.850Z","creationTime":"2017-01-24T09:09:02.853Z"},{"eventId":"U8HQtFAmwi12CGYpF0PgtgAAAVnPvFMghEzk4-hS3cE","event":"buy","entityType":"user","entityId":"alice","targetEntityType":"product","targetEntityId":"prod4","properties":{},"eventTime":"2017-01-24T09:09:02.880Z","creationTime":"2017-01-24T09:09:02.883Z"},{"eventId":"gkaa5Gb2QaY0M5Kjy5iYBAAAAVnPuBUSpB7Z9QhFNeg","event":"$set","entityType":"product","entityId":"prod4","properties":{"uid":["prod4"]},"eventTime":"2017-01-24T09:04:24.850Z","creationTime":"2017-01-24T09:04:24.853Z"},{"eventId":"ponPgaOtSZo2c1IhrAPtkgAAAVnPuBO3iIpIU5Y5ATw","event":"$set","entityType":"product","entityId":"prod2","properties":{"uid":["prod2"]},"eventTime":"2017-01-24T09:04:24.503Z","creationTime":"2017-01-24T09:04:24.507Z"},{"eventId":"uRxfHMznXKoPqED7Cay54gAAAVnPuVuOnLPr6VF-_LY","event":"$set","entityType":"cart","entityId":"5d1543b4-0be1-400c-8c45-9e0508d075f1","properties":{},"eventTime":"2017-01-24T09:05:48.430Z","creationTime":"2017-01-24T09:05:48.437Z"},{"eventId":"uRxfHMznXKoPqED7Cay54gAAAVnPuVughuSxtyPVdnI","event":"add_to_cart","entityType":"cart","entityId":"5d1543b4-0be1-400c-8c45-9e0508d075f1","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:05:48.448Z","creationTime":"2017-01-24T09:05:48.453Z"},{"eventId":"uRxfHMznXKoPqED7Cay54gAAAVnPuVv4hc07-Fc8K7w","event":"add_to_cart","entityType":"cart","entityId":"5d1543b4-0be1-400c-8c45-9e0508d075f1","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:05:48.536Z","creationTime":"2017-01-24T09:05:48.542Z"},{"eventId":"uRxfHMznXKoPqED7Cay54gAAAVnPuVw_uOrg4KaYnRU","event":"add_to_cart","entityType":"cart","entityId":"5d1543b4-0be1-400c-8c45-9e0508d075f1","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:05:48.607Z","creationTime":"2017-01-24T09:05:48.610Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPuMVdnNXmXgAp_OA","event":"$set","entityType":"user","entityId":"eva","properties":{},"eventTime":"2017-01-24T09:05:09.981Z","creationTime":"2017-01-24T09:05:09.984Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviL8s8d4S69WXq4","event":"view","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:11:01.628Z","creationTime":"2017-01-24T09:11:01.634Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviNBgSS8Nb9lORw","event":"view","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:11:01.697Z","creationTime":"2017-01-24T09:11:01.701Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviN8sRKKb2Ngb0g","event":"view","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod4","properties":{},"eventTime":"2017-01-24T09:11:01.756Z","creationTime":"2017-01-24T09:11:01.760Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviOzsw3Kq3mqcgo","event":"view","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod5","properties":{},"eventTime":"2017-01-24T09:11:01.811Z","creationTime":"2017-01-24T09:11:01.815Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviRxuRWrQW5U7wQ","event":"buy","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod5","properties":{},"eventTime":"2017-01-24T09:11:02.001Z","creationTime":"2017-01-24T09:11:02.004Z"},{"eventId":"z3c6w210xrwv_IsGmI1OuAAAAVnPviSOo6AwyUwg3Ak","event":"buy","entityType":"user","entityId":"eva","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:11:02.030Z","creationTime":"2017-01-24T09:11:02.033Z"},{"eventId":"2Js-g6TvG57nVVXxwW8b_AAAAVnPuMWFiB1JulOGRFw","event":"$set","entityType":"user","entityId":"sasha","properties":{},"eventTime":"2017-01-24T09:05:10.021Z","creationTime":"2017-01-24T09:05:10.025Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuMTzqlVVq67yqaA","event":"$set","entityType":"user","entityId":"bob","properties":{},"eventTime":"2017-01-24T09:05:09.875Z","creationTime":"2017-01-24T09:05:09.883Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVnMj2Urwfftjfw","event":"view","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:05:47.980Z","creationTime":"2017-01-24T09:05:47.986Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVoPvMtoCnrZ800","event":"view","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:05:48.047Z","creationTime":"2017-01-24T09:05:48.051Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVpGs8UoON2tONE","event":"view","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:05:48.102Z","creationTime":"2017-01-24T09:05:48.106Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVp3vuJbTL8ql6E","event":"view","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod4","properties":{},"eventTime":"2017-01-24T09:05:48.151Z","creationTime":"2017-01-24T09:05:48.154Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVx2hN7Ve-Uu9gk","event":"buy","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:05:48.662Z","creationTime":"2017-01-24T09:05:48.665Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVyYrbXtCPFGaH8","event":"buy","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod1","properties":{},"eventTime":"2017-01-24T09:05:48.696Z","creationTime":"2017-01-24T09:05:48.699Z"},{"eventId":"2X5vPnF74q6IC2V6KEE1SAAAAVnPuVy2hjHqzW0P_7I","event":"buy","entityType":"user","entityId":"bob","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:05:48.726Z","creationTime":"2017-01-24T09:05:48.729Z"},{"eventId":"6wnRtG4Z7lv5HiuPGCIuPQAAAVnPvFIfgQ3v3mXsbHQ","event":"$set","entityType":"cart","entityId":"7bf90119-b68e-4259-8a38-88a6d6bdbb74","properties":{},"eventTime":"2017-01-24T09:09:02.623Z","creationTime":"2017-01-24T09:09:02.627Z"},{"eventId":"6wnRtG4Z7lv5HiuPGCIuPQAAAVnPvFIqvfLcuQAv188","event":"add_to_cart","entityType":"cart","entityId":"7bf90119-b68e-4259-8a38-88a6d6bdbb74","targetEntityType":"product","targetEntityId":"prod2","properties":{},"eventTime":"2017-01-24T09:09:02.634Z","creationTime":"2017-01-24T09:09:02.637Z"},{"eventId":"6wnRtG4Z7lv5HiuPGCIuPQAAAVnPvFJpjr8-tSDNdzA","event":"add_to_cart","entityType":"cart","entityId":"7bf90119-b68e-4259-8a38-88a6d6bdbb74","targetEntityType":"product","targetEntityId":"prod3","properties":{},"eventTime":"2017-01-24T09:09:02.697Z","creationTime":"2017-01-24T09:09:02.701Z"},{"eventId":"6wnRtG4Z7lv5HiuPGCIuPQAAAVnPvFKrqP0HlK7-CmY","event":"add_to_cart","entityType":"cart","entityId":"7bf90119-b68e-4259-8a38-88a6d6bdbb74","targetEntityType":"product","targetEntityId":"prod4","properties":{},"eventTime":"2017-01-24T09:09:02.763Z","creationTime":"2017-01-24T09:09:02.766Z"}]
[INFO] [URAlgorithm] Query received, user id: Some(alice), item id: None
[INFO] [URAlgorithm] Misconfigured date information, either your engine.json date settings or your query
's dateRange is incorrect.
Ingoring date information for this query.
[INFO] [URAlgorithm] Query:
{"size":20,"query":{"bool":{"should":[{"terms":{"buy":["prod2","prod3","prod4"]}},{"terms":{"view":["prod2","prod4","prod5"]}},{"constant_score":{"filter":{"match_all":{}},"boost":0}}],"must":[],"must_not":{"ids":{"values":["prod4","prod3","prod2"],"boost":0}},"minimum_should_match":1}},"sort":[{"_score":{"order":"desc"}},{"popRank":{"unmapped_type":"double","order":"desc"}}]}
[INFO] [esClient$] Results: 1 retrieved of a possible 1
It looks like you have a bunch of malformed data in Elasticsearch. Can you show us your event input to the EventServer?
It looks like you have a bunch of malformed data in Elasticsearch. Can you show us your event input to the EventServer?
{
"comment":" This config file uses default settings for all but the required values see README.md for docs",
"id": "default",
"description": "Default settings",
"engineFactory": "org.template.RecommendationEngine",
"datasource": {
"params" : {
"name": "sample-handmade-data.txt",
"appName": "catalog",
"itemEntityType" : "product",
"eventNames": ["buy", "view"]
}
},
"sparkConf": {
"spark.serializer": "org.apache.spark.serializer.KryoSerializer",
"spark.kryo.registrator": "org.apache.mahout.sparkbindings.io.MahoutKryoRegistrator",
"spark.kryo.referenceTracking": "false",
"spark.kryoserializer.buffer": "300m",
"spark.executor.memory": "4g",
"es.index.auto.create": "true"
},
"algorithms": [
{
"comment": "simplest setup where all values are default, popularity based backfill, must add eventsNames",
"name": "ur",
"params": {
"appName": "catalog",
"indexName": "urindex",
"typeName": "products",
"comment": "must have data for the first event or the model will not build, other events are optional",
"eventNames": ["buy", "view"]
}
}
]
}
[INFO] [URAlgorithm] Query received, user id: Some(alice), item id: None
[INFO] [URAlgorithm] Misconfigured date information, either your engine.json date settings or your query
's dateRange is incorrect.
Ingoring date information for this query.
[INFO] [URAlgorithm] Query:
{"size":20,"query":{"bool":{"should":[{"terms":{"buy":["prod2","prod3","prod4"]}},{"terms":{"view":["prod2","prod4","prod5"]}},{"constant_score":{"filter":{"match_all":{}},"boost":0}}],"must":[],"must_not":{"ids":{"values":["prod4","prod3","prod2"],"boost":0}},"minimum_should_match":1}},"sort":[{"_score":{"order":"desc"}},{"popRank":{"unmapped_type":"double","order":"desc"}}]}
[ERROR] [ServerActor] Query:
{
"user": "alice"
}
Stack Trace:
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[QACMUHt9TXCwG-DxKU--oQ][urindex_1485351081586][0]: QueryPhaseExecutionException[[urindex_1485351081586][0]: query[((buy:prod2 buy:prod3 buy:prod4) (view:prod2 view:prod4 view:prod5) ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod2 _uid:items#prod3 _uid:items#prod4 _uid:products#prod2 _uid:products#prod3 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@73cee357>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[QACMUHt9TXCwG-DxKU--oQ][urindex_1485351081586][1]: QueryPhaseExecutionException[[urindex_1485351081586][1]: query[((buy:prod2 buy:prod3 buy:prod4) (view:prod2 view:prod4 view:prod5) ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod2 _uid:items#prod3 _uid:items#prod4 _uid:products#prod2 _uid:products#prod3 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@2f150d5>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[QACMUHt9TXCwG-DxKU--oQ][urindex_1485351081586][2]: QueryPhaseExecutionException[[urindex_1485351081586][2]: query[((buy:prod2 buy:prod3 buy:prod4) (view:prod2 view:prod4 view:prod5) ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod2 _uid:items#prod3 _uid:items#prod4 _uid:products#prod2 _uid:products#prod3 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@69328abd>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[QACMUHt9TXCwG-DxKU--oQ][urindex_1485351081586][3]: QueryPhaseExecutionException[[urindex_1485351081586][3]: query[((buy:prod2 buy:prod3 buy:prod4) (view:prod2 view:prod4 view:prod5) ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod2 _uid:items#prod3 _uid:items#prod4 _uid:products#prod2 _uid:products#prod3 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@a8fdf16>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }{[QACMUHt9TXCwG-DxKU--oQ][urindex_1485351081586][4]: QueryPhaseExecutionException[[urindex_1485351081586][4]: query[((buy:prod2 buy:prod3 buy:prod4) (view:prod2 view:prod4 view:prod5) ConstantScore(*:*)^0.0 -ConstantScore(_uid:items#prod2 _uid:items#prod3 _uid:items#prod4 _uid:products#prod2 _uid:products#prod3 _uid:products#prod4)^0.0)~1],from[0],size[20],sort[<score>,<custom:"popRank": org.elasticsearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource@52f36d0b>!]: Query Failed [Failed to execute main query]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: UncheckedExecutionException[java.lang.NumberFormatException: Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; nested: NumberFormatException[Invalid shift value in prefixCoded bytes (is encoded value really an INT?)]; }
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:237)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:183)
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:565)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)