I am running into an issue with App Search, the issue goes like this: I create an ES index with the mappings required for App Search relevance tuning and such.
I create an App Search engine, with the ES based index.
When I go to schema everything is text, even though I have some fields that have dates and such. I cannot change this type.
How would I get these fields to show up as date etc.?
I was thinking this would already have been asked or was in the documentation but I could not find it so apologies if I overlooked this.
While special handling is available for Object Fields and Nested Fields, it doesn't seem that we can support arbitrary multifields.
However, the big benefit of multifields is that it allows you to store your _source once, but analyze it in multiple ways. Another feature that allows this same behavior is copy_to, and since this creates a new top-level field instead of a subfield, it seems to work with App Search. I created a minimal example:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.