Skip to content

Instantly share code, notes, and snippets.

View soumyamrs's full-sized avatar

Soumya soumyamrs

  • www.algotree.com
  • India
View GitHub Profile
@soumyamrs
soumyamrs / gist:3689216
Created September 10, 2012 06:23
ESIndex
_index: algotree5
_type: news
_id: BdQC3uEQQ8W6nrnaLg0Qmw
_version: 1
_score: 1
_source: {
partnerName: reuters
relatedSources: null
fetchTimeStamp: 20-07-2012 11:19:44
Author:
@soumyamrs
soumyamrs / gist:3606852
Created September 3, 2012 05:13
ES JSON
"{
""partnerName"": ""reuters"",
""relatedSources"": ""null"",
""fetchTimeStamp"": ""20-07-2012 11:19:44"",
""Author"": """",
""actualTimeStamp"": ""19-07-2012 15:12:00"",
""wordCount"": 97,
""entityCount"": 3,
""Categories"": {
""Types"": {
"{
""DateEvent"": [
{
""Andrew_Duncan_and_Neil_Bennett,_directors_at_Leonard_Curtis,_were_appointed_\r\nto_the_Foxton-based_company_on_16_July_with_the_directors_making_about_30_\r\nredundancies_prior_to_the_appointment."": [
{
""count"": 1,
""event"": ""Andrew Duncan and Neil Bennett, directors at Leonard Curtis, were appointed \r\nto the Foxton-based company on 16 July with the directors making about 30 \r\nredundancies prior to the appointment.""
}
],
""event"": ""Andrew Duncan and Neil Bennett, directors at Leonard Curtis, were appointed \r\nto the Foxton-based company on 16 July with the directors making about 30 \r\nredundancies prior to the appointment.""
@soumyamrs
soumyamrs / gist:3434337
Created August 23, 2012 08:41
NEST application
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
using Nest;
using ExcelDna.Integration;
using System.Data;
using Newtonsoft.Json;
@soumyamrs
soumyamrs / gist:3174725
Created July 25, 2012 06:26
ESOutput for URLCrawler
{
_index: barrons
_type: mergedata
_id: qRZGelI3S3uwnbrU4aQpJw
_version: 1
_score: 1
_source: {
partnerName: URLCrawler
relatedSources: null
http://news.morningstar.com/all/dow-jones/top-stories/201207200716/000295/london-markets-london-shares-lower-as-vodafone-drops.aspx
http://news.morningstar.com/all/dow-jones/top-stories/201207200534/000260/london-markets-london-shares-lower-as-vodafone-drops.aspx
http://news.morningstar.com/all/dow-jones/top-stories/201207200534/000260/london-markets-london-shares-lower-as-vodafone-drops.aspx
http://news.morningstar.com/all/dow-jones/top-stories/201207181208/000549/london-markets-uk-stock-index-up-as-unemployment-falls.aspx
http://news.morningstar.com/all/dow-jones/top-stories/201207181208/000549/london-markets-uk-stock-index-up-as-unemployment-falls.aspx
http://news.morningstar.com/all/dow-jones/top-stories/201207180947/000441/london-markets-uk-stocks-index-up-as-unemployment-falls.aspx
@soumyamrs
soumyamrs / gist:3121665
Created July 16, 2012 08:57
Bloomberg Content
{
_index: algotree5
_type: news
_id: 2EyelbDNR3S_NJbVlP7IVA
_version: 1
_score: 1
_source: {
partnerName: test
relatedSources: null
@soumyamrs
soumyamrs / gist:3082415
Created July 10, 2012 09:59
XML_filing
{
_index: edgartest
_type: filings
_id: zTeBw_VYRKqJV7-CUD7YSg
_version: 1
_score: 1
_source: {
ParentFileSecUrl: http://www.sec.gov/Archives/edgar/data/1000180/000124264811000024/xslF345X03/edgar.xml
fetchTimeStamp: 10-07-2012 15:25:19
{
_index: edgartest
_type: attachment
_id: 5hoK6x_7R7O6rwyYdd9NZg
_version: 1
_score: 1
_source: {
ChildFileSize: 22025 bytes
FormTypeCategory: Original
{
_index: edgartest
_type: filings
_id: pIlvqis3Qkir6dtQoy3fFA
_version: 1
_score: 1
_source: {
fetchTimeStamp: 10-07-2012 14:58:51
formType: N-30D