Hi. I have a question about highlighting nested object fields.
Consider record like this:
{
- _source: {
- id: 286
 
- translations: [
- {
- id: 568
 
- language: 'lang1'
 
- value: 'foo1 bar1'
} 
 
- {
- id: 569
 
- language: 'lang2'
 
- value: 'foo2 bar2'.
}
]
} 
 
 
 
}
If the translations.value has ngram filter, is it possible to highlight
matches in nested object such as this one?
And how would the highlight query look like.
Thanks a lot for response.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
             
            
              
              
              
            
            
           
          
            
            
              Bumping up this thread. I have a similar problem without the ngram filter.
- Can anybody confirm if highlighting is possible for nested objects using
nested queries ... ?* 
On Tuesday, March 5, 2013 10:59:45 PM UTC+5:30, Samuel Molnar wrote:
Hi. I have a question about highlighting nested object fields.
Consider record like this:
{
- _source: {
- id: 286
 
- translations: [
- {
- id: 568
 
- language: 'lang1'
 
- value: 'foo1 bar1'
} 
 
- {
- id: 569
 
- language: 'lang2'
 
- value: 'foo2 bar2'.
}
]
} 
 
 
 
}
If the translations.value has ngram filter, is it possible to highlight
matches in nested object such as this one?
And how would the highlight query look like.
Thanks a lot for response.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.