Skip to content

Instantly share code, notes, and snippets.

View Vineeth-Mohan's full-sized avatar

Vineeth Mohan Vineeth-Mohan

  • Factweavers
  • India
View GitHub Profile
{
"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": [
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
term: generalevent
count: 1583565
}
{
term: personsaysevent
count: 480159
}
{
term: marketevent
count: 414540
ActualTimeStamp: {
type: string
}
Link: {
type: string
}
FetchTimeStamp: {
type: string
}
DocID: {
{
"NewEvents" : [
{
"Events":[
{
"Entities":[
{
"entity":"Country",
"Country":[
{
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"],
{
"title": "EventsUI",
"rows": [
{
"title": "Options",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"events" : {
"news" : {
"dynamic_templates" : [ {
"entity_template" : {
"mapping" : {
"type" : "String",
"Analyzer" : "flat"
},
"path_match" : "Events.Entities.*.entity"
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:
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"],