Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sefarad
dashboard-gsicrawler
Commits
cb671f87
Commit
cb671f87
authored
Sep 11, 2017
by
militarpancho
Browse files
Add .keyword to aggregations
parent
b50585e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dashboard-reddit.html
View file @
cb671f87
...
...
@@ -3,7 +3,6 @@
<link
rel=
"import"
href=
"../paper-material/paper-material.html"
>
<link
rel=
"import"
href=
"../google-chart-elasticsearch/google-chart.html"
>
<link
rel=
"import"
href=
"../paper-tabs/paper-tabs.html"
>
<link
rel=
"import"
href=
"../reviews-table/reviews-table.html"
>
<link
rel=
"import"
href=
"../number-chart/number-chart.html"
>
<link
rel=
"import"
href=
"../comment-chart/comment-chart.html"
>
...
...
@@ -220,7 +219,6 @@
this
.
client
.
search
({
// undocumented params are appended to the query string
index
:
"
reddit
"
,
type
:
[
"
article
"
,
"
comment
"
],
body
:
{
size
:
10
,
query
:
{
...
...
@@ -239,7 +237,7 @@
},
subreddit
:
{
terms
:
{
field
:
"
subreddit
"
,
field
:
"
subreddit
.keyword
"
,
order
:
{
_count
:
"
desc
"
}
...
...
@@ -247,7 +245,7 @@
},
sentiment
:
{
terms
:
{
field
:
"
sentiment
"
,
field
:
"
sentiment
.keyword
"
,
order
:
{
_count
:
"
desc
"
}
...
...
@@ -255,7 +253,7 @@
},
emotion
:
{
terms
:
{
field
:
"
emotion
"
,
field
:
"
emotion
.keyword
"
,
order
:
{
_count
:
"
desc
"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment