Skip to content

Instantly share code, notes, and snippets.

@zverok
Created September 10, 2013 10:08
Show Gist options
  • Save zverok/6507424 to your computer and use it in GitHub Desktop.
Save zverok/6507424 to your computer and use it in GitHub Desktop.
Иррелевантное упоминание
------------------------
api_v2.log:
I, [2013-09-10T13:07:01.966473 #29874] INFO -- : Processing POST /v2/clients/2145/mentions/by/seed/473.json?component=dvapper Query: {component: "dvapper"} JSON: {author: {name: "Ariana-Joan Butera-Grande", guid: "216539801", url: "http://vk.com/id216539801"}, journal: {name: "Ariana-Joan Butera-Grande", guid: "216539801", url: "http://vk.com/id216539801", kind_class: "user"}, kind_class: "newsfeed", url: "http://vk.com/wall216539801_327", title: "", body: "Happy 18th Birthday Ariana Grande !\n\nHappy 18th Birthday Ariana Grande !\n\nHappy 18th Birthday Ariana Grande ! I do not own the song or the photos, credit to Bruno Mars for the song, and all the blogs and google where I got the photos and GIFs. Ariana's birthday is June 26th ! \nHope X3<...>", created_at: "2013-08-30T12:53:41+04:00", fetch: {id: 3126748}}
amqp.log:
I, [2013-09-10T13:07:02.005063 #29874] INFO -- : bsp.topic.v2[dvapper.mention:topic.create]: {id: 2012696, mention_id: 2341385, client_id: 2145, stored_at: "2013-09-10T09:07:01Z", snippet: "", lingua_tonality: nil, manual_tonality: nil, tonality: 0, is_competitor: true, is_processed: false, label: {id: 272, label: "Google", is_competitor: true, is_default: false}, seed: {id: 473, client_id: 2145, name: "Google", keywords: ["google"], context: ["google"], stopwords: [], labels: [{id: 272, label: "Google", is_competitor: true, is_default: false}], is_competitor: true}, fetch: {id: 3126748, url: "http://bspv2-dev.sterno.ru:4900/search.json?context=google&fetched_after=Fri%2C%2030%20Aug%202013%2003%3A49%3A30%20GMT&keywords=google&page=99&published_after=Thu%2C%2029%20Aug%202013%2020%3A00%3A00%20GMT&stopwords=&synonyms=<...>", origin: "vk-corpus", fetched_at: "2013-09-10T09:06:14Z", seed_id: nil}}
I, [2013-09-10T13:07:02.013500 #29874] INFO -- : bsp.topic.v2[dvapper.mention.create]: {id: 2341385, client_id: 2145, kind_class: "newsfeed", url: "http://vk.com/wall216539801_327", created_at: "2013-08-30T08:53:41Z", title: "", body: "Happy 18th Birthday Ariana Grande !Hope X3<...>", lingua_language: "ru", is_spam: false, platform: {id: 7, url: "http://vk.com", name: "vk.com"}, author: {id: 3264903, url: "http://vk.com/id216539801", name: "Ariana-Joan Butera-Grande"}, journal: {id: 3398084, url: "http://vk.com/id216539801", name: "Ariana-Joan Butera-Grande"}, topics: [{id: 2012696, mention_id: 2341385, client_id: 2145, stored_at: "2013-09-10T09:07:01Z", snippet: "", lingua_tonality: nil, manual_tonality: nil, tonality: 0, is_competitor: true, is_processed: false, label: {id: 272, label: "Google", is_competitor: true, is_default: false}, seed: {id: 473, client_id: 2145, name: "Google", keywords: ["google"], context: ["google"], stopwords: [], labels: [{id: 272, label: "Google", is_competitor: true, is_default: false}], is_competitor: true}, fetch: {id: 3126748, url: "http://bspv2-dev.sterno.ru:4900/search.json?context=google&fetched_after=Fri%2C%2030%20Aug%202013%2003%3A49%3A30%20GMT&keywords=google&page=99&published_after=Thu%2C%2029%20Aug%202013%2020%3A00%3A00%20GMT&stopwords=&synonyms=<...>", origin: "vk-corpus", fetched_at: "2013-09-10T09:06:14Z", seed_id: nil}}]}
I, [2013-09-10T13:07:02.051181 #29874] INFO -- : SWS_scraper_lingua_exchange[scraper_to_lingua_routing_key]: {dbid: 2341385, clid: 2145, obid: "522ee13586258874b20000b0", crat: "2013-08-30T08:53:41Z", moid: 0, seed: {keywords: "google", synonyms: [], context: ["google"], stopwords: []}, content: {title: "", content: "Happy 18th Birthday Ariana Grande !
I, [2013-09-10T13:07:02.051682 #29874] INFO -- : bsp.topic[dvapper.mention.create]: {id: 2341385, client_id: 2145}
api_v2.log:
I, [2013-09-10T13:07:02.053502 #29874] INFO -- : [0.0872] Processed POST /v2/clients/2145/mentions/by/seed/473.json?component=dvapper Query: {component: "dvapper"} JSON: {author: {name: "Ariana-Joan Butera-Grande", guid: "216539801", url: "http://vk.com/id216539801"}, journal: {name: "Ariana-Joan Butera-Grande", guid: "216539801", url: "http://vk.com/id216539801", kind_class: "user"}, kind_class: "newsfeed", url: "http://vk.com/wall216539801_327", title: "", body: "Happy 18th Birthday Ariana Grande !\nHappy 18th Birthday Ariana Grande !\nHappy 18th Birthday Ariana Grande ! I do not own the song or the photos, credit to Bruno Mars for the song, and all the blogs and google where I got the photos and GIFs. Ariana's birthday is June 26th ! \nHope X3<...>", created_at: "2013-08-30T12:53:41+04:00", fetch: {id: 3126748}}: RESPONSE 201 - {"id":2341385,"client_id":2145,"kind_class":"newsfeed","url":"http://vk.com/wall216539801_327","created_at":"2013-08-30T08:53:41Z","title":"","body":"Happy 18th Birthday Ariana Grande !\n\nHappy 18th Birthday Ariana Grande !\n\nHappy 18th Birthday Ariana Grande ! I do not own the song or the photos, credit to Bruno Mars for the song, and all the blogs and google where I got the photos and GIFs. Ariana's birthday is June 26th ! \nHope X3","lingua_language":"ru","is_spam":false,"platform":{"id":7,"url":"http://vk.com","name":"vk.com"},"author":{"id":3264903,"url":"http://vk.com/id216539801","name":"Ariana-Joan Butera-Grande"},"journal":{"id":3398084,"url":"http://vk.com/id216539801","name":"Ariana-Joan Butera-Grande"},"topics":[{"id":2012696,"mention_id":2341385,"client_id":2145,"stored_at":"2013-09-10T09:07:01Z","snippet":"","lingua_tonality":null,"manual_tonality":null,"tonality":0,"is_competitor":true,"is_processed":false,"label":{"id":272,"label":"Google","is_competitor":true,"is_default":false},"seed":{"id":473,"client_id":2145,"name":"Google","keywords":["google"],"context":["google"],"stopwords":[],"labels":[{"id":272,"label":"Google","is_competitor":true,"is_default":false}],"is_competitor":true},"fetch":{"id":3126748,"url":"http://bspv2-dev.sterno.ru:4900/search.json?context=google&fetched_after=Fri%2C%2030%20Aug%202013%2003%3A49%3A30%20GMT&keywords=google&page=99&published_after=Thu%2C%2029%20Aug%202013%2020%3A00%3A00%20GMT&stopwords=&synonyms=","origin":"vk-corpus","fetched_at":"2013-09-10T09:06:14Z","seed_id":null}}]}
api.log:
I, [2013-09-10T13:55:46.462999 #328] INFO -- : Processing POST /clients/2145/words/2341385.json?component=lingua Query: {component: "lingua"} JSON: {lingua_tonality: 0, lingua_language: "en", lingua_excerpt: "to Bruno Mars for the song, and all the blogs and <strong class="0">google</strong> where I got the photos and<...>", lingua_keywords: ""}
amqp.log (обновление сниппета):
I, [2013-09-10T13:55:46.475102 #328] INFO -- : bsp.topic.v2[lingua.mention:topic.update]: {id: 2012696, mention_id: 2341385, client_id: 2145, snippet: "to Bruno Mars for the song, and all the blogs and <strong class="0">google</strong> where I got the photos and<...>", lingua_keywords: ""}
I, [2013-09-10T13:55:46.480208 #328] INFO -- : bsp.topic.v2[lingua.mention.update]: {id: 2341385, client_id: 2145, topics: [{id: 2012696, mention_id: 2341385, client_id: 2145, stored_at: "2013-09-10T09:07:01Z", snippet: "to Bruno Mars for the song, and all the blogs and <strong class="0">google</strong> where I got the photos and<...>", lingua_tonality: 0, manual_tonality: nil, tonality: 0, is_competitor: true, is_processed: false, label: {id: 272, label: "Google", is_competitor: true, is_default: false}, seed: {id: 473, client_id: 2145, name: "Google", keywords: ["google"], context: ["google"], stopwords: [], labels: [{id: 272, label: "Google", is_competitor: true, is_default: false}], is_competitor: true}, fetch: {id: 3126748, url: "http://bspv2-dev.sterno.ru:4900/search.json?context=google&fetched_after=Fri%2C%2030%20Aug%202013%2003%3A49%3A30%20GMT&keywords=google&page=99&published_after=Thu%2C%2029%20Aug%202013%2020%3A00%3A00%20GMT&stopwords=&synonyms=<...>", origin: "vk-corpus", fetched_at: "2013-09-10T09:06:14Z", seed_id: nil}}], lingua_keywords: ""}
amqp.log (обновление языка):
I, [2013-09-10T13:55:46.483168 #328] INFO -- : bsp.topic[lingua.mention.update]: {id: 2341385, client_id: 2145, lingua_language: "en", lingua_keywords: ""}
I, [2013-09-10T13:55:46.511434 #328] INFO -- : bsp.topic.v2[lingua.mention.update]: {id: 2341385, client_id: 2145, lingua_language: "en", lingua_keywords: ""}
api.log:
I, [2013-09-10T13:55:46.512974 #328] INFO -- : [0.0501] Processed POST /clients/2145/words/2341385.json?component=lingua Query: {component: "lingua"} JSON: {lingua_tonality: 0, lingua_language: "en", lingua_excerpt: "to Bruno Mars for the song, and all the blogs and <strong class="0">google</strong> where I got the photos and<...>", lingua_keywords: ""}: RESPONSE 200 - {"id":2341385,"client_id":2145,"kind":"newsfeed","url":"http://vk.com/wall216539801_327","title":"","lingua_language":"en","excerpt":"to Bruno Mars for the song, and all the blogs and <strong class=\"0\">google</strong> where I got the photos and","platform":{"id":7,"url":"http://vk.com","guid":"vk.com","name":"vk.com"},"author":{"id":3264903,"url":"http://vk.com/id216539801","guid":"216539801","name":"Ariana-Joan Butera-Grande"},"journal":{"id":3398084,"url":"http://vk.com/id216539801","guid":"216539801","name":"Ariana-Joan Butera-Grande"},"seed":{"id":473,"client_id":2145,"name":"Google","keywords":"google","synonyms":[],"context":["google"],"stopwords":[],"labels2":[{"id":272,"label":"Google","is_competitor":true,"is_default":false}],"is_competitor":true},"lingua_tonality":0,"created_at":"2013-08-30T08:53:41Z","fetched_at":"2013-09-10T09:06:14Z","origin":"vk-corpus","is_spam":false}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment