Hello
Boost field is deprecated since ES 1.0.0 so I've decided to change it to
the function score query as suggested in the docs.
So I tried to change this:
Boost Field
curl -XDELETE "http://localhost:9200/t"
curl -XPUT "http://localhost:9200/t" -d'
{
"mappings": {
"P": {
"properties": {
"parstr": {
"type": "string"
}
This file has been truncated. show original
Function Score
curl -XDELETE "http://localhost:9200/t"
curl -XPUT "http://localhost:9200/t" -d'
{
"mappings": {
"P": {
"properties": {
"parstr": {
"type": "string"
}
This file has been truncated. show original
Into this:
Boost Field
curl -XDELETE "http://localhost:9200/t"
curl -XPUT "http://localhost:9200/t" -d'
{
"mappings": {
"P": {
"properties": {
"parstr": {
"type": "string"
}
This file has been truncated. show original
Function Score
curl -XDELETE "http://localhost:9200/t"
curl -XPUT "http://localhost:9200/t" -d'
{
"mappings": {
"P": {
"properties": {
"parstr": {
"type": "string"
}
This file has been truncated. show original
The problem is that i can't use child's fields inside the top_children
query. How should I handle this?
Thanks in advance
Paweł Młynarczyk
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d68bab8-30cf-4382-bf78-36753b9f3ca6%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .