New

The executive guide to generative AI

Read more
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Ids Filter

edit

See IDs Filter

FilterBuilder filter = idsFilter("my_type", "type2")
    .addIds("1", "4", "100");

FilterBuilder filter = idsFilter() 
    .addIds("1", "4", "100");

type is optional

Was this helpful?
Feedback