Skip to content

Instantly share code, notes, and snippets.

@peaeater
Created June 18, 2013 23:47
Show Gist options
  • Save peaeater/5810550 to your computer and use it in GitHub Desktop.
Save peaeater/5810550 to your computer and use it in GitHub Desktop.
schema copy fields for suggest
<!-- suggest fields -->
<copyField source="title" dest="title_suggest" />
<copyField source="title" dest="title_suggest_edge" />
<copyField source="title" dest="title_suggest_ngram" />
<copyField source="title" dest="title_s" />
<copyField source="collection" dest="collection_suggest" />
<copyField source="collection" dest="collection_suggest_edge" />
<copyField source="collection" dest="collection_suggest_ngram" />
<copyField source="collection" dest="collection_s" />
<copyField source="universe" dest="universe_suggest" />
<copyField source="universe" dest="universe_suggest_edge" />
<copyField source="universe" dest="universe_suggest_ngram" />
<copyField source="universe" dest="universe_s" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment