PHP Classes

File: mapping.json

Recommend this page to a friend!
  Classes of Ahmed Khan  >  PHP ElasticSearch Custom Search  >  mapping.json  >  Download  
File: mapping.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP ElasticSearch Custom Search
Create a custom search function for ElasticSearch
Author: By
Last change:
Date: 1 year ago
Size: 1,340 bytes
 

Contents

Class file image Download
{ "settings": { "analysis": { "analyzer": { "en": { "tokenizer": "standard", "stopwords": "_english_", "filter": [ "lowercase", "en_US", "synonym", "asciifolding", "en_stemmer" ] }, "synonym" : { "tokenizer" : "whitespace", "filter" : ["synonym"] } }, "filter": { "en_US": { "type": "hunspell", "locale": "en_US", "dedup": true }, "synonym" : { "type" : "synonym", "synonyms_path" : "analysis/synonym.txt", "tokenizer" : "whitespace" }, "en_stemmer" : { "type" : "stemmer", "name" : "english" } } } }, "mappings": { "knowledgebase": { "properties": { "question": { "type": "text", "analyzer" : "en" }, "answer": { "type": "text", "analyzer" : "en" } } } } }