Just starting to play with ES and very impressed! Nice work.
I've got faceting working, but the values are all terms... but what I
want back are the original string values for the fields, in other
words... if my field value is "Elastic Search", then that's what I'd
like to have back as a facet value. How can I make that happen? I'm
guessing it has something to do with index settings?
I think in this case, what you want is to define in the mappings the field
you do facets on to not be analyzed (you can use multi_field mappings if you
want to have different (index) ways to look at this property). Then, once
its not analyzed, you will get the actual value since it won't be broken
down into terms.
Just starting to play with ES and very impressed! Nice work.
I've got faceting working, but the values are all terms... but what I
want back are the original string values for the fields, in other
words... if my field value is "Elastic Search", then that's what I'd
like to have back as a facet value. How can I make that happen? I'm
guessing it has something to do with index settings?
I think in this case, what you want is to define in the mappings the field
you do facets on to not be analyzed (you can use multi_field mappings if you
want to have different (index) ways to look at this property). Then, once
its not analyzed, you will get the actual value since it won't be broken
down into terms.
Just starting to play with ES and very impressed! Nice work.
I've got faceting working, but the values are all terms... but what I
want back are the original string values for the fields, in other
words... if my field value is "Elastic Search", then that's what I'd
like to have back as a facet value. How can I make that happen? I'm
guessing it has something to do with index settings?
Oh got it. I was PUTting the mapping incorrectly. Got confused because
my resource name is "properties", so the mapping was one level too
deep. Working fantastic now.
I think in this case, what you want is to define in the mappings the field
you do facets on to not be analyzed (you can use multi_field mappings if you
want to have different (index) ways to look at this property). Then, once
its not analyzed, you will get the actual value since it won't be broken
down into terms.
Just starting to play with ES and very impressed! Nice work.
I've got faceting working, but the values are all terms... but what I
want back are the original string values for the fields, in other
words... if my field value is "Elastic Search", then that's what I'd
like to have back as a facet value. How can I make that happen? I'm
guessing it has something to do with index settings?
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.