java - Amazon Cloudsearch : Filter if exists -


I have an Amazon CloudSearch Domain, the purpose of this is to filter if the field 'language' exists, all the items have no language , And I want to do those people who have filtered language, but those who do not have any language can be returned.

I want to filter with (or language): 'n' language: blank)

However, no string can be taped.

Is this possible? If this is how it will be done.

I look like somewhere else, it seems:

doing this The easiest way is to set a default value for the field, and then use that value for your blank.

For example, set the default in the "Null" string, then you can easily test it for

I believe you have a default value, and Re-indexing can be added, and it should re-apply the default.


Comments