Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

Support IgnorePlurals and RemoveStopWords #4

Open
bpicolo opened this issue Feb 6, 2018 · 0 comments
Open

Support IgnorePlurals and RemoveStopWords #4

bpicolo opened this issue Feb 6, 2018 · 0 comments

Comments

@bpicolo
Copy link
Owner

bpicolo commented Feb 6, 2018

These can either be a boolean (true/false) or array of string. Unfortunately terraform doesn't provide a direct way to support multiple-typed values.

A couple options I'm thinking of:

  1. Created two separate fields (ignore_plurals, ignore_plurals_words) that enable/disable the functionality vs change the words inside.
  2. Create some nested type that supports either/or
  3. Map the concept of empty array to false and nil to true? (Not entirely sure if terraform will provide nil vs the empty array for the value if not specified. If it provides the empty array this is a no-go)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant