Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mantas Marcinkevičius
    @einorler
    this may be the problem in your case
    Mantas Marcinkevičius
    @einorler
    This message was deleted
    This message was deleted
    Jan
    @funkdoobiest
    thanks, I will have a look
    Jan
    @funkdoobiest
    problem is routing is just for „Document“ type not for „nested"
    Jan
    @funkdoobiest
    Hi
    I want to sort search result
    i found "$search->addSort()“, but I don’t find the right use statement
    andy docs for this?
    Mantas Marcinkevičius
    @einorler
    yes, this is a way to do it but if you are working with lists here you really could be using FilterManager Bundle
    Tautrimas Pajarskas
    @tautrimas
    Hello (: I see that ElasticsearchDSL does not support https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-datehistogram-aggregation.html date_histogram aggregation. It does not differ a lot from histogram, but has some usefull datetime related features. Is there a reason why it's not implemented in ONGR?
    Simonas Šerlinskas
    @saimaz
    it’s on this ongr-io/ElasticsearchDSL#97
    Tautrimas Pajarskas
    @tautrimas
    So I am the first to complain (: I'll implement one against 0.x branch
    Simonas Šerlinskas
    @saimaz
    sure, if you need something implement it in 0.x and I’ll merge
    Jan
    @funkdoobiest
    Hi
    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
                                            )
    
                                    )
    
                            )
    
                    )
    
            )
    
    )
    I get this error when updating a document via api
    and I don’t understand why
        /**
         * @var string
         *
         * @ES\Id()
         */
        private $id;
    If i omit the „_id“ field on request it’s working
    Jan
    @funkdoobiest
    I am sure it worked before. Did something change?
    Simonas Šerlinskas
    @saimaz
    no, nothing was change for a while
    Tautrimas Pajarskas
    @tautrimas
    Hello, did you have a discussion, on wether to throw an exception or a PHP warning during $manager->commit()? This is a source of silent errors, especially when mapping is violated
    Jan
    @funkdoobiest
    I have the same problem
    Simonas Šerlinskas
    @saimaz
    I believe there was an issue in elasticsearch-php client about that to introduce exceptions. So at the begining we thought to leave handling of query error for them.
    So instead of throwing some exception we returning what we get from elasticsearch
    and in the response array there is error:true or false
    daibbcvl
    @daibbcvl
    Hi Simonas, I find a problem in ongr-io/ElasticsearchDSL#119, how can i make Pull request?
    Andreas Kleiber
    @akleiber
    hey there - when I have a document with a property that is an array of integers, do I have to use @ES\Embeddedor can I use @ES\Property somehow?
    Andreas Kleiber
    @akleiber
    nvm - forgot to add the field in _source
    Tautrimas Pajarskas
    @tautrimas
    Hey, guys. I remember long time ago having an error "Failed to execute phase [query_fetch], all shards failed" in TravisCI. We are getting this randomly from time to time. What is the fix for this? @saimaz
    Tautrimas Pajarskas
    @tautrimas
    Tautrimas Pajarskas
    @tautrimas
    @saimaz @einorler and to all. Above solution fixed our problem with obscure 503 Service Unavailable errors for Elasticsearch tests. No problems for 2 days, whereas every second buld failed previously.
    Simonas Šerlinskas
    @saimaz

    Hi @tautrimas if I remember correctly we upgraded elasticsearch version.

    Btw your provided way to wait when clustter will be yellow is a great solution.

    Tautrimas Pajarskas
    @tautrimas
    A lot of applications use this for testing on various github repositories even on different languages
    joaoluiznaufel
    @joaoluiznaufel_twitter
    hey guys, I'm having some problems to mapping data fields. the options is not been mapping
    my elasticsearch version is 2.3
    Tautrimas Pajarskas
    @tautrimas
    https://github.com/ongr-io/ElasticsearchBundle/compare/ongr-io:b2b18b6...einorler:f2d4169#diff-b627029456e38c232a3eb5aeb146e7aeR344 - we quickly noticed, that it's not enough to just have an error messag. That's why we added custom exception for _bulk errors: tautrimas/ElasticsearchBundle@f67f86d
    oh, you have so many features not merged into 1.x. Why the wait? (:
    Tautrimas Pajarskas
    @tautrimas
    Is ElasticsearchBundle compatilbe for the big part with ES 1.x?
    Simonas Šerlinskas
    @saimaz
    from 1.0 version it supports 2.0 elasticsearch
    but for the big part it should work fine with 1.x
    Tautrimas Pajarskas
    @tautrimas
    @saimaz I had to add forward-port FilteredQuery from 0.x, but otherwise it works fine
    Nick van der Zwet
    @nickvanderzwet
    Is it possible for ongr_filter_manager to search in multiple types (for example news, blog type).. The configuration requires only one type "repository: 'es.manager.search.page'" ?
    Alfred Bez
    @alfredbez
    Hi there, I tried to install the testing-vm but it seems like 'public' is a broken submodule. Does anyone know the correct url for the 'public' submodule?
    Simonas Šerlinskas
    @saimaz
    Hi @alfredbez , testing-vm is so unstable due third party constant package changes :(
    I can recommend to try out our side project