Highlighting - hit to return sibling properties


#1

Hi all,

I have some user defined data that is stored like so...

"screenData": {
        "type": "nested",
        "dynamic": "false",
        "properties": {
          "fieldId": {
            "type": "long",
            "index": "no"
          },
          "group": {
            "type": "integer",
            "index": "no"
          },
          "valueBool": {
            "type": "boolean",
            "index": "no"
          },
          "valueDatetime": {
            "type": "date",
            "index": "no",
            "format": "strict_date_optional_time||epoch_millis"
          },
          "valueDouble": {
            "type": "double",
            "index": "no"
          },
          "valueInt": {
            "type": "long",
            "index": "no"
          },
          "valueString": {
            "type": "string",
            "fields": {
              "english": {
                "type": "string",
                "analyzer": "english"
              }
            }
          }
        }
      }

I am performing queries with highlighting and getting hits on valueString for example. The highlighting works as expected but I'd like to be able to view the highlight hit's sibling properties.

Is this possible?


(system) #2