public Query setRestrictNavigation(String name, int count) {
    this.restrictNavigation = new RestrictNavigation().setName(name).setCount(count);
    return this;
  }
public Query setRestrictNavigation ( String name , int count ) { this . restrictNavigation = new RestrictNavigation ( ) . setName ( name ) . setCount ( count ) ; return this ; }
<code>
<b>Warning</b> See {@link Query#setRestrictNavigation(RestrictNavigation)}. This is a convenience method.
</code>

@param name
the name of the field should be used in the navigation restriction in the second query.
@param count
the number of fields matches

@return this query