i am new in elastic search graph.i have installed successfully but when i try to choose index name,fields etc no data return.
Here's my query:
{
"query": {
"query_string": {
"default_field": "_all",
"query": "male"
}
},
"controls": {
"use_significance": true,
"sample_size": 100,
"timeout": 100000
},
"connections": {
"vertices": [
{
"field": "gender",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_fname",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_lname",
"size": 5,
"min_doc_count": 3
}
]
},
"vertices": [
{
"field": "gender",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_fname",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_lname",
"size": 5,
"min_doc_count": 3
}
]
}
if i change this query to, and try to post data by postman:
{
"query": {
"match": {
"gender": "male."
}
},
"controls": {
"use_significance": true,
"sample_size": 100,
"timeout": 100000
},
"connections": {
"vertices": [
{
"field": "gender",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_fname",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_lname",
"size": 5,
"min_doc_count": 3
}
]
},
"vertices": [
{
"field": "gender",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_fname",
"size": 5,
"min_doc_count": 3
},
{
"field": "persona_lname",
"size": 5,
"min_doc_count": 3
}
]
}
it returns data with vertices and weight, what should i do in graph setting? or what i am missing?