public StructuredQueryDefinition near ( int maximumDistance , double weight , Ordering order , StructuredQueryDefinition ... queries ) { checkQueries ( queries ) ; return new NearQuery ( null , maximumDistance , weight , order , queries ) ; }
Defines a NEAR query over the list of query definitions with specified parameters .