Skip to content

pg-search: facets implementation

Rodrigo Souto requested to merge diguliu/noosfero:facets into master

Facet Implementation

This commit includes a facets implementation for the pg_search plugin. It uses Postgresql Full-Text Search with its basic indexation through the pg_search gem.

The facet is coded in a extensible way, with current support for filtering by a specific attribute or based on a relation.

Core

  • Added facets and periods options to full_text_search method (no signature change).
  • TimeScopes improvement with more generic scopes.
  • Normalization of search order scopes by including table names.
  • Search page style improvemetns
  • Add friendly mimetype support

Merge request reports