KENDO WITH Elastic search integration issue

2 posts, 0 answers
  1. Suman
    Suman avatar
    1 posts
    Member since:
    Mar 2015

    Posted 28 May 2015 Link to this post

    I created a dropdown for sorting Elastic Search queries , see below

      <input data-role="combobox"

                                  source: sortOptions,
                                  visible: isVisible,
                                  enabled: isEnabled,
                                  events: {
                                    change: onChange,
                                    open: onOpen,
                                    close: onClose
                       style="width: 300px"

     I created Index on Elastic search with Id ,title ,Price,Location

     sortdescription holds the value that we selected in the dropdown, when I pass sortdescription to Elastic search queries through Kendo ,its converting sortdescription to String and its not replacing the selected value,

     Appreciate your thoughts/Suggestions. 

    var querydata= {
      "fields": ["_id", "title", "description","price"],

      "query": {
    "filtered" : {
                "filter": {
                "bool": {
           "must": {
            "geo_distance_range" : {
                    "from" : "0km",
                    "to" : "20km",
        "location" : {
      "lat" : 40.12,
      "lon" : -71.34
            "sort": [
            { sortdescription :   { "order": "asc" }},
            { "_score": { "order": "asc" }}




  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 02 Jun 2015 Link to this post

    Hello Suman,

    I am not sure that I fully understand the scenario, but I prepared a sample example following the provided code. 

    If the is not the exact functionality you are trying to achieve, please modify this example in order to replicate the described issue. 

    Boyan Dimitrov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top