Skip to content

Commit

Permalink
correct docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Nov 15, 2023
1 parent b79c9af commit bb85a9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/addcorpus/es_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def main_content_mapping(token_counts=True, stopword_analysis=False, stemming_an
Mapping for the main content field. Options:
- `token_counts`: enables aggregations for the total number of words. Used for relative term frequencies.
- `stopword_analyzer`: enables analysis using stopword removal. Can be a string specifying `clean-{language}` analyser in the `es_settings` of the corpus, or True for `clean`
- `stemming_analysis`: enables analysis using stemming. Can be a string specifying a `stemmed-{}` analyser in the `es_settings` for the corpus, or Truem for `stemmed`
- 'updated_highlighting': enables the new highlighter, which only works for fields that are indexed with the term vector set to 'with_positions_offsets'.
- `stopword_analysis`: enables analysis using stopword removal.
- `stemming_analysis`: enables analysis using stemming.
- `updated_highlighting`: enables the new highlighter, which only works for fields that are indexed with the term vector set to 'with_positions_offsets'.
'''

mapping = {
Expand Down

0 comments on commit bb85a9b

Please sign in to comment.