https://kotlinlang.org logo
Join SlackCommunities
Powered by
# estatik
  • j

    jkwatson

    11/26/2015, 4:05 PM
    I am also very interested in helping to build a kotlin-friendly API for elasticsearch (although rubberband does work fine so far), if you are looking for help.
  • a

    apatrida

    11/26/2015, 5:08 PM
    The DSL can build queries dynamically, you can do whatever Kotlin you want in the middle, around, pass pieces around, etc
  • a

    apatrida

    11/26/2015, 5:10 PM
    I’ll take a look at RubberBand as well, thanks! and contributors are always welcome, let me get to first working model and then will be easier to see where people can help.
  • j

    jkwatson

    11/26/2015, 5:24 PM
    cool. that would be the most important bit for my current use cases (the dynamic query building)
  • m

    mplatvoet

    11/26/2015, 8:18 PM
    the versioning issue: are you intending to build static models of the different versions?
  • a

    apatrida

    11/26/2015, 8:36 PM
    I’m not quite sure yet, going to investigate differences over time to see what types of changes have happened. If it is just additions, deprecations, deletions, and not real structural changes all the time then we can just API diff and deprecate and version tag things.
  • m

    mplatvoet

    11/26/2015, 8:46 PM
    yeah that would be very interesting to know in order to make any sane decision
  • v

    vmironov

    12/03/2015, 11:39 PM
    @vmironov has left the channel
  • s

    seunoh

    02/03/2016, 5:45 AM
    @seunoh has left the channel
  • y

    yasyd

    02/18/2016, 9:50 AM
    @yasyd has left the channel
  • m

    mplatvoet

    02/29/2016, 3:59 PM
    @mplatvoet has left the channel
  • f

    fellshard

    06/14/2016, 11:22 PM
    https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html
  • f

    fellshard

    06/14/2016, 11:22 PM
    I wonder if Kotlin could provide suitable tools to operate as a new scripting language. 😮
  • a

    apatrida

    06/15/2016, 11:41 AM
    @fellshard: I think the intent of the Elastic team is to narrow down to just their new scripting language and not take the risk on others. Almost any other has been problems for them in the past. And the new one is functional enough.
    👍 1
  • m

    mbuhot

    07/04/2016, 12:08 AM
    Hi, just noticed this slack channel. I also created a thin DSL wrapper around the java elasticsearch client: https://github.com/mbuhot/eskotlin The idea was that translating the JSON from my interactive session in marvel/sense into the equivalent java was not straight-forward. So I created a DSL that mimics the JSON query dsl as closely as possible.
  • a

    apatrida

    07/04/2016, 1:06 PM
    @mbuhot: nice!
  • a

    apatrida

    07/04/2016, 1:06 PM
    We are waiting on this project until seeing the Elasticsearch 5 new changes to the client, which I believe is going to be REST only now
  • a

    apatrida

    07/04/2016, 1:07 PM
    and then decide what to do for Kotlin-izing it
  • a

    apatrida

    07/04/2016, 1:07 PM
    for a DSL we would still like to code generate it from the Sense / API spec files and not hand code so we do not have to keep up with every change they do in the future.
  • f

    fellshard

    07/05/2016, 2:22 AM
    REST-only? So no more transport client?
  • j

    jkwatson

    07/05/2016, 4:13 AM
    @jkwatson has left the channel
  • m

    mbuhot

    07/06/2016, 10:26 PM
    Is there a spec for the querydsl? After some googling I found some JSON descriptions of the api, but it just described the query object generically.
  • a

    apatrida

    07/14/2016, 2:06 PM
    @mbuhot: in the sense plugin source code is information in JSON format that describes the query DSL
  • a

    apatrida

    07/14/2016, 2:07 PM
    for Estatik we pull it, merge it with the REST API spec and create a unified tree
  • m

    mbuhot

    07/14/2016, 10:15 PM
    @apatrida: Sounds awesome. So the final API will feel close to the JSON querydsl / make it easy to move from an interactive sense session into kotlin code.
  • f

    fboldog

    09/06/2016, 6:41 AM
    @fboldog has left the channel
  • m

    matthewdias

    09/06/2016, 9:00 AM
    @matthewdias has left the channel
  • m

    mesquka

    04/26/2017, 2:19 PM
    @mesquka has left the channel
  • k

    kz

    05/24/2017, 4:25 PM
    @kz has left the channel
  • p

    Petros Paraskevopoulos

    07/07/2017, 12:41 PM
    @Petros Paraskevopoulos has left the channel