Highlighting issue on nested object


(Brett Boyle) #1

I'm having an issue with a highlight query that is only hitting on some nested objects but not others. It's confusing because some of the nested objects within the list are identical to each other but only some are being found from the search. The issue appears to be with the search not hitting on certain objects, not an issue with highlighting.

So imagine there's this simplified mapping with a list of nested objects.

{
    "mappings": {
        "parts": {
            "properties": {
                "list": {
                    "include_in_parent": true,
                    "type": "nested",
                    "properties": {
                        "text": {"type": "text", "index": true, "analyzer": "text_analyzer"}}
                    }
                }
            }
        }   
    }
}

For the "text" values, if some are identical to each other within the list, what reason could there be for a query to hit on some of the nested objects and not others.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.