Class CmsSolrQueryUtil

java.lang.Object
org.opencms.search.solr.CmsSolrQueryUtil

public class CmsSolrQueryUtil extends Object
Utilities for building and analyzing Solr queries.
  • Field Details

  • Constructor Details

  • Method Details

    • composeGeoFilterQuery

      public static String composeGeoFilterQuery(String fieldName, String coordinates, String radius, String units)
      Composes a Geo filter query string for given parameters.
      Parameters:
      fieldName - the field name
      coordinates - the coordinates
      radius - the search radius
      units - the units of the search radius
      Returns:
      the Geo filter query string