Upgrade Appkit in Existing Apps
package.json
file at the root of your project, update the appkit-ui
dependency to the latest Appkit version, for example:
pom.xml
file at the root of your project, update the value of the parent.version
property to the latest Appkit version, for example:
unit
property is optional. If not present, the default unit kilometers
is used.
Property | Required | Notes |
---|---|---|
lat | required | Latitude value (decimal, for example, 37.773972 ) |
lon | required | Longitude value (decimal, for example, -122.431297 ) |
distance | required | Distance from a latitude/longitude point (a positive real number, for example, 10 or 2.5 ) Do not specify the distance units as a part of distance (as you would in Elasticsearch). Use unit instead. |
unit | optional | Units of distance. Possible values are the long form distance units, that is, miles , yards , feet , inch , kilometers , meters , centimeters, millimeters, and nauticalmiles. The default is kilometers`. |
geo_point
field is the same as for other sorting (+
for ascending, -
for descending):
geo_point
(any of the four formats). For example:
elasticsearch.yml
, identify the field or fields that are of type geo_point
. For example:
geo_point
field and specifies a latitude, a longitude, and a distance (and optionally units). For example:
s
(sort) query parameter to sort search results on a geo_point
field that was used in a filter; for example, s=+pin.location
(ascending) or s=-pin.location
(descending). For example:
geo_distance
query, which finds documents with at least one geo-point that falls within the specified distance of the specified point (and that satisfy any other query and filter criteria), and returns a response that lists the documents. If the s
query parameter was included, the documents listed in the response are sorted in order of distance from the specified point.
string
, boolean
, integer
, double
, and date
) and ranges over simple data types.
With this release, the Appkit filter syntax adds support for an object
data type that can specify filters of arbitrary complexity. The object
data type uses JSON syntax to describe the data. For example, a filter can specify unordered lists of name/value pairs (objects) and ordered collections of values (arrays).
For example:
401 Unauthorized
status for unauthenticated API requests. Previously, they returned a 403 Forbidden
status.
Additionally, for the SAML security provider, the standard AJAX request handling mechanism has been included, which means that 302 Found
redirects do not occur for unauthenticated API requests.
The security providers affected are:
<search:field>
to make a field clickable in order to refine the current query, you can now define the filter-optional
tag attribute. This tag attribute tells Appkit how to combine filters using connective logical operators.
For example, when you have a multi-select (checkboxes) facet defined on the same field and displayed on the same page as a clickable field for refining a query, you must specify filter-optional
to be value
in the filter for the facet directive.
For more information, see Optional logical operators.
<instant:result-list>
) now returns the correct query
object in the tracked-click object. These are examples of markup and a response object:
#
) now load in browsers correctly, if the comments were created using this software version, 4.4.0.
<search:field>
tag, fields with no value are no longer clickable.
collaborate.saved.placeholder
was added for the hint text in the search box for the collaborate:saved-query-list
tag. The search box lets the user search through a list of saved queries. The default English hint text is Search name
.
groupField
parameter, the first result in a group of results now contains only its own metadata. Previously, the first result contained the metadata of all of the results in the group.
<widget:date-range>
tag now completely clears dates when the date filter is cleared.