Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    sorry the instructions are in lithuanian, but for now please use just google translate, it's only few steps to install and prepare
    but it works very well
    let me know if you have any issue or question about this
    Alfred Bez
    @alfredbez
    ok, I'll try this one, thanks
    Simonas Šerlinskas
    @saimaz
    the preffered way would be to create an issue in that repository
    Swapnil Pathak
    @swapsword
    Can I use ONGR Bundles with symfony 3 version?
    Tautrimas Pajarskas
    @tautrimas
    @saimaz we have interesting recurring problem: 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
    Tobias Schönberg
    @tobias47n9e
    What does the "something" refer to in $manager->getRepository('something')?
    Tobias Schönberg
    @tobias47n9e
    Found it myself. I think that the naming of the method is kind of unintuitive. The documentation could go into more detail what it is used for.
    Tobias Schönberg
    @tobias47n9e
    Does anyone have issues with tokenizer, filter, analyzer not being used by the search? Perhaps the MangerFactory.createManager function should catch misconfigurations better
    Karim Miladi
    @kmiladi
    hello
    any news about "copy_to" please ?