How to properly add multiple field mappings for a single field? #2231
-
|
I'm trying to add a I have a document that successfully gets mapped: using this mapping: but when I try to search: it fails to find the doc. If I only use keyword as the field mapping with no Any insights would be helpful, thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
@ajroetker We've a design decision limitation with that field name that has While we allow the name that uses Separately, I'm not quite sure I follow your use case here - is it fair to assume this is your document format .. .. in which case you should be indexing the field name |
Beta Was this translation helpful? Give feedback.
-
|
Got it, I think this makes more sense now. I haven't tried reproducing your test case, but would you rename your field aliases to not use
|
Beta Was this translation helpful? Give feedback.
Got it, I think this makes more sense now.
I haven't tried reproducing your test case, but would you rename your field aliases to not use
., and retry the same with the new names ..For example ..
key.keyword->key_keywordname._2gram->name__2gram