Skip to content

Commit

Permalink
Elasticsearch 6.x support
Browse files Browse the repository at this point in the history
Tested with recent 6.4.1 release
  • Loading branch information
thomaspatzke committed Sep 21, 2018
1 parent 817319b commit 95bc490
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc_HttpRequestResponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def parse_header(header):
)

class DocHTTPRequestResponse(DocType):
class Meta:
doc_type = 'HTTPRequestResponse'

timestamp = Date()
protocol = Keyword()
host = Keyword()
Expand All @@ -70,7 +67,7 @@ class Meta:
'value': Text(fields={'keyword': Keyword()})
}
),
'body': Text(include_in_all=False)
'body': Text()
}
)
response = Object(
Expand All @@ -96,7 +93,7 @@ class Meta:
'value': Text(fields={'keyword': Keyword()})
}
),
'body': Text(include_in_all=False),
'body': Text(),
'doctype': Text(multi=True, fields={'keyword': Keyword()}),
'base': Text(multi=True, fields={'keyword': Keyword()}),
'stylesheets': Text(multi=True, fields={'keyword': Keyword()}),
Expand Down

0 comments on commit 95bc490

Please sign in to comment.