Skip to content

Instantly share code, notes, and snippets.

@speedblue
Created December 28, 2016 09:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save speedblue/4c90834a5d441ff7eb5d9260c4f057c7 to your computer and use it in GitHub Desktop.
Index Settings of the English Wikipedia
{
"attributeForDistinct": "sourceArticle",
"searchableAttributes": [
"title",
"synonyms",
"text",
"sourceArticle"
],
"customRanking": [
"desc(recordTypeScore)",
"desc(popularity)"
],
"ignorePlurals": [
"en"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment