[pycsw-devel] on/off/default behaviour of facets

Tom Kralidis tomkralidis at gmail.com
Thu Feb 29 11:02:00 PST 2024


+1 makes sense Paul.  Will be a nice addition!

..Tom

On Wed, Feb 28, 2024 at 6:09 PM Paul Van Genuchten <genuchten at yahoo.com>
wrote:

> Just wondering, how would users activate facets on the html view, when
> arriving with no knowledge about ogc api? Maybe add a button “activate
> facets”, in case the facets are not yet enabled
>
> [image: images]
>
> Groet Paul van Genuchten
>
> Op 27 feb. 2024 om 20:31 heeft Tom Kralidis <tomkralidis at gmail.com> het
> volgende geschreven:
>
> 
> Hi Paul: we discussed this in [1] and determined that facets would need to
> be explicitly specified (users may not want facets and simply search),
> which will become part of the forthcoming OGC API - Records - Part 2:
> Facets extension.  So this aligns with our implementation in pycsw so far.
>
> ..Tom
>
> [1]
> https://github.com/opengeospatial/ogcapi-records/pull/320#issuecomment-1966599940
>
> On Tue, Feb 27, 2024 at 7:36 AM Paul via pycsw-devel <
> pycsw-devel at lists.osgeo.org> wrote:
>
>> At the Vienna code sprint faceted search has been added to pycsw.
>>
>> https://demo.pycsw.org/cite/collections/metadata:main/items?facets=true
>>
>> This functionality can be enabled at request time by appending facets=true
>>
>> I personally would like to activate facets for all requests, and maybe
>> keep the facets=false for people to deactivate it
>>
>> Because for users it can be unexpected that some functionality is
>> available with one url, not with another.
>>
>> I wonder what others think (i understand there is a performance penalty).
>> Or if we should introduce a config parameter which sets the default facet
>> behaviour (off/on/default)
>>
>> Welcoming your thoughts
>> _______________________________________________
>> pycsw-devel mailing list
>> pycsw-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pycsw-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20240229/bb1627f3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: images.png
Type: image/png
Size: 2960 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20240229/bb1627f3/attachment.png>


More information about the pycsw-devel mailing list