@ Deprecated public static Bson text ( final String search , final String language ) { notNull ( "search" , search ) ; return text ( search , new TextSearchOptions ( ) . language ( language ) ) ; }
Creates a filter that matches all documents matching the given search term using the given language .