Skip to content

Allows to collapse search results based on field values. The collapsing is done by selecting only the top sorted document per collapse key.

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst
Notifications You must be signed in to change notification settings

alteroo/collective.fieldcollapsing

 
 

Repository files navigation

collective.fieldcollapsing

This add-ons provides Field Collapsing feature to Plone through a behavior provided to the Collection Content Type.

The Field Collapsing function allows search results collapsed into a single entry based on field values. The collapsing is done by selecting only the top sorted document per collapse key.

Features

  • Providesz Field Collapsing behavior for the Collection Content Type
  • Group similar results together based on the selected metadata field.
  • Retrive the most relevent hits first.
  • Retrive only one result from a whole set of resources is included in the results list

Documentation

This works similar to Elastic Search field collapsing function as explained here - https://www.rea-group.com/blog/using-elasticsearch-field-collapsing-to-group-related-search-results/

Installation

Install collective.fieldcollapsing by adding it to your buildout:

[buildout]

...

eggs =
    collective.fieldcollapsing

and then running bin/buildout

Afterwards, install the add-on via Add-on Controlpanel

Enable the Field Collapsing behavior on the Collection Content Type by visitng Dexterity Content Types Controlpanel.

Contribute

License

The project is licensed under the GPLv2.

About

Allows to collapse search results based on field values. The collapsing is done by selecting only the top sorted document per collapse key.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.7%
  • RobotFramework 9.8%
  • Shell 2.5%