Hey guys,
we have a situation where we would only want to index documents whose deleted value is set to false. For example, suppose we have documents like this:
DOC_ID: 6161
{
"data": "something",
"deleted": false
}
DOC_ID: 0000
{
"data": "something",
"deleted": true
}
In this situation, I want FTS to only index the document with the id of 6161. To achieve this, I set JSON type field to deleted. Then I create a type mapping with false value and disable default type. But this does not work. When I change deleted fields in documents to a string value like “true” instead of true, then it works. It seems like it cannot create a type mapping from a boolean value.
Can you help us with this?