public < P extends ParaObject > List < P > findSimilar ( String type , String filterKey , String [ ] fields , String liketext , Pager ... pager ) { MultivaluedMap < String , String > params = new MultivaluedHashMap <> ( ) ; params . put ( "fields" , fields == null ? null : Arrays . asList ( fields ) ) ; params . putSingle ( "filterid" , filterKey ) ; params . putSingle ( "like" , liketext ) ; params . putSingle ( Config . _TYPE , type ) ; params . putAll ( pagerToParams ( pager ) ) ; return getItems ( find ( "similar" , params ) , pager ) ; }
Searches for objects that have similar property values to a given text . A find like this query .