Package org.springframework.data.solr.core.query

Examples of org.springframework.data.solr.core.query.Criteria.within()


      case NOT_IN:
        return criteria.in(asArray(appendBoostAndGetParameterValue(criteria, parameters))).not();
      case NEAR:
        return createNearCriteria(parameters, criteria);
      case WITHIN:
        return criteria.within((Point) getBindableValue((BindableSolrParameter) parameters.next()),
            (Distance) getBindableValue((BindableSolrParameter) parameters.next()));
      default:
        throw new InvalidDataAccessApiUsageException("Illegal criteria found '" + type + "'.");
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.