Array
(
[took] => 11
[errors] => 1
[items] => Array
(
[0] => Array
(
[update] => Array
(
[_index] => ongr_app
[_type] => product
[_id] => 1950
[status] => 400
[error] => Array
(
[type] => mapper_parsing_exception
[reason] => failed to parse
[caused_by] => Array
(
[type] => illegal_state_exception
[reason] => Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.IdFieldMapper$IdFieldType on field _id
)
)
)
)
)
)
/**
* @var string
*
* @ES\Id()
*/
private $id;
error:true
or false
Warning: fopen(/srv/project/var/cache/dev/ongr/elasticsearch/98/5b5b435d41707042756e646c655c456e746974795c50726f76696465725d5b315d.ongr.data): failed to open stream: No such file or directory
. Did you encounter it? It seems to be related with this crazy macOS Sierra NFS issue, but might be not: mitchellh/vagrant#8061
I wonder if someone can help me with this, I'm new to Elasticsearch but I'm working with an product that has elasticsearchDSL build in.
I have this mapping available to me:
"rule" : {
"properties" : {
"from" : {
"type" : "long"
},
"price" : {
"type" : "long"
},
}
So it would look like this:
[
{ "from": 0.0, "price": 1.00 },
{ "from": 50.0, "price": 0.75 },
{ "from": 100.0, "price": 0.50 }
]
Can I filter based on closest from that is below an number?
So for example if I have a from 75.0
, I should get the rule of from 50.0
@saimaz hello! Can u please release new version of
https://github.com/ongr-io/ElasticsearchDSL
Need new tag v6.2.1 with renaming of MaxAggregation.php class
ongr-io/ElasticsearchDSL#362