GSA/code-gov-api

View on GitHub
indexes/repo/settings.json

Summary

Maintainability
Test Coverage
{
  "analysis": {
    "normalizer": {
      "lowercase": {
        "type": "custom",
        "char_filter": [],
        "filter": ["lowercase"]
      }
    },
    "filter": {
      "english_stop": {
        "type": "stop",
        "stopwords": [
          "a", "an", "and", "are", "as", "at", "be", "but", "by",
          "for", "if", "in", "into", "is", "it",
          "no", "not", "of", "on", "or", "such",
          "that", "the", "their", "then", "there", "these",
          "they", "this", "to", "was", "will", "with",
          "2", "1", "3", "4", "5", "6", "7", "8", "9", "0",
          "a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
          "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
          "u", "v", "w", "x", "y", "z"
        ]
      },
      "english_stemmer": {
        "type": "stemmer",
        "language": "english"
      },
      "english_possessive_stemmer": {
        "type": "stemmer",
        "language": "possessive_english"
      }
    },
    "analyzer": {
      "englishhtml": {
        "tokenizer": "standard",
        "char_filter": ["html_strip"],
        "filter": [
          "english_possessive_stemmer",
          "lowercase",
          "english_stop",
          "english_stemmer"
        ]

      },
      "englishfulltext": {
        "tokenizer": "standard",
        "filter": [
          "english_possessive_stemmer",
          "lowercase",
          "english_stop",
          "english_stemmer"
        ]
      }
    }
  }
}