This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"partnerName": "archiver", | |
"fetchTimeStamp": "01-10-2012 20:46:44", | |
"ExtractionAlg": "ReadabilitySnack", | |
"ACE-VERSION": "2.0.4", | |
"actualTimeStamp": "04-05-2011 00:32:33", | |
"wordCount": 244, | |
"Categories": { | |
"Types": { | |
"Entities": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.elasticsearch.transport.RemoteTransportException: [spiderman][inet[/192.168.1.248:9300]][search/phase/query] | |
Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: [events][0]: query[filtered(+ConstantScore(cache(Events.Event:[* TO *])) +Type:ProductLaunchEvent)->cache(_type:news)],from[0],size[10]: Query Failed [Failed to execute main query] | |
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:138) | |
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:239) | |
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:529) | |
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:518) | |
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:265) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at jav |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
term: generalevent | |
count: 1583565 | |
} | |
{ | |
term: personsaysevent | |
count: 480159 | |
} | |
{ | |
term: marketevent | |
count: 414540 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActualTimeStamp: { | |
type: string | |
} | |
Link: { | |
type: string | |
} | |
FetchTimeStamp: { | |
type: string | |
} | |
DocID: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"NewEvents" : [ | |
{ | |
"Events":[ | |
{ | |
"Entities":[ | |
{ | |
"entity":"Country", | |
"Country":[ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PUT "http://localhost:9200/events" -d '{ | |
"index" : { | |
"number_of_shards" : 4, | |
"number_of_replicas" : 1 , | |
"analysis":{ | |
"analyzer":{ | |
"content" : { | |
"type" : "custom", | |
"tokenizer" : "standard", | |
"filter" : ["lowercase" , "stop" , "kstem"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "EventsUI", | |
"rows": [ | |
{ | |
"title": "Options", | |
"height": "50px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"events" : { | |
"news" : { | |
"dynamic_templates" : [ { | |
"entity_template" : { | |
"mapping" : { | |
"type" : "String", | |
"Analyzer" : "flat" | |
}, | |
"path_match" : "Events.Entities.*.entity" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compile: | |
jar: | |
[jar] Building jar: /home/vineeth/1.2.x/OG-Platform/projects/OG-Util/build/og-util.jar | |
dist-publish: | |
[copy] Copying 1 file to /home/vineeth/1.2.x/OG-Platform/projects/OG-Util/dist | |
[copy] Copying 1 file to /home/vineeth/1.2.x/OG-Platform/projects/OG-Util/dist | |
publish-local: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PUT "http://$hostname:9200/index_name" -d '{ | |
"index" : { | |
"number_of_shards" : 2, | |
"number_of_replicas" : 1 , | |
"analysis":{ | |
"analyzer":{ | |
"html" : { | |
"type" : "custom", | |
"tokenizer" : "standard", | |
"filter" : ["lowercase" , "stop"], |