[Git][noosfero/noosfero][master] 2 commits: pg-search: facets implementation

Rodrigo Souto gitlab at mg.gitlab.com
Tue Apr 25 10:00:54 BRT 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
6b49a56a by Rodrigo Souto at 2017-04-17T18:15:34-03:00
pg-search: facets implementation

+ 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

- - - - -
78877a2b by Rodrigo Souto at 2017-04-25T13:00:45+00:00
Merge branch 'facets' into 'master'

pg-search: facets implementation

See merge request !1171
- - - - -


30 changed files:

- app/controllers/public/search_controller.rb
- app/helpers/forms_helper.rb
- app/helpers/search_helper.rb
- app/models/article.rb
- app/models/concerns/time_scopes.rb
- app/models/organization.rb
- app/models/person.rb
- app/models/profile.rb
- app/models/profile_categorization.rb
- app/views/search/_search_content.html.erb
- app/views/search/_search_form.html.erb
- + app/views/search/_total.html.erb
- + app/views/search/_total_results.html.erb
- app/views/search/search.js.erb
- app/views/search/search_page.html.erb
- features/search.feature
- lib/noosfero/plugin.rb
- + plugins/pg_search/Gemfile
- − plugins/pg_search/db/migrate/20130320010063_create_indexes_for_search.rb
- + plugins/pg_search/db/migrate/20170401104534_create_pg_search_plugin_search_facet_occurrences.rb
- − plugins/pg_search/dependencies.rb
- + plugins/pg_search/install.rb
- plugins/pg_search/lib/ext/application_record.rb
- + plugins/pg_search/lib/ext/article.rb
- + plugins/pg_search/lib/ext/category.rb
- + plugins/pg_search/lib/ext/kind.rb
- + plugins/pg_search/lib/ext/profile.rb
- + plugins/pg_search/lib/ext/region.rb
- + plugins/pg_search/lib/ext/tag.rb
- plugins/pg_search/lib/pg_search_plugin.rb


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/7d8a91ed3f51e16fc3aff3abcdc7620b28840fde...78877a2b63587f67008771cc11c8abae3e8c5f3b

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/7d8a91ed3f51e16fc3aff3abcdc7620b28840fde...78877a2b63587f67008771cc11c8abae3e8c5f3b
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170425/b013e005/attachment-0001.html>


More information about the Noosfero-dev mailing list