Is there a processor that will do shingles or can I make a custom one somehow?
In the pipeline processor below, I split on the space character, but I'd also like to combine words like a shingle analyzer would:
PUT _ingest/pipeline/split
{
"processors": [
{
"split": {
"field": "title",
"target_field": "title_suggest.input",
"separator": "\\s+"
}
}
]
}
Example:
"Senior Business Developer" needs a suggestion field with these terms.
- Senior Business Developer
- Business Developer
- Developer
Here are the links to the article and answer that inspired this question:
Here is one solution I came up with using a custom script: