stadtratmonitor/app/models
Lars Henrik Mai dc3a97d3b8 Update elasticsearch
- Build our own elasticsearch image based on 6.8.6 which includes
configuration files for german decompounder from https://github.com/uschindler/german-decompounder

- move elastichq to separate service and use the official image instead of including it as plugin in the elasticsearch image

- Adjust compounder filter config in papers to use the included hyphenation_decompounder.
See https://www.elastic.co/guide/en/elasticsearch/reference/6.8/analysis-compound-word-tokenfilter.html

- Remove obsolete "string" type in the mapping of papers, and replace it
with "text" or "keywords" accordingly. See https://www.elastic.co/blog/strings-are-dead-long-live-strings
2020-01-16 12:20:47 +01:00
..
concerns Start with a Rails app with authentication via Persona, Foundation CSS 2014-11-19 18:48:28 +01:00
.keep Start with a Rails app with authentication via Persona, Foundation CSS 2014-11-19 18:48:28 +01:00
importer.rb Add importer model, validations to paper model 2015-05-17 18:30:03 +02:00
paper.rb Update elasticsearch 2020-01-16 12:20:47 +01:00
paper_search.rb by default sort by published date, as initial web site shows all papers and thus there is no query yet that can be sorted by relevance 2016-03-26 13:40:39 +01:00
user.rb Start with a Rails app with authentication via Persona, Foundation CSS 2014-11-19 18:48:28 +01:00