Hi, i would like to facett by the first letter of search results. By Solar
i need to make a field with the first letter inside. Is there by
elasticseach maybe a cool function for this? I would to make a alphabetical
list like : A B C D but only for letters where a results behind. Regards
and thanks Stefan
Hi, i would like to facett by the first letter of search results. By Solar
i need to make a field with the first letter inside. Is there by
elasticseach maybe a cool function for this? I would to make a alphabetical
list like : A B C D but only for letters where a results behind. Regards
and thanks Stefan
You can easily accomplish this with value scripts, but I would still choose
the Solr approach of indexing a new field for performance reasons. If any
content is static in nature, I would always opt to handle the processing at
index time. Not only will you save CPU cycles by not having to run a
script, but you can also control exactly how the new field's data is
cached/used.
--
Ivan
On Wed, Apr 23, 2014 at 9:01 AM, Itamar Syn-Hershko itamar@code972.comwrote:
Hi, i would like to facett by the first letter of search results. By
Solar i need to make a field with the first letter inside. Is there by
elasticseach maybe a cool function for this? I would to make a alphabetical
list like : A B C D but only for letters where a results behind. Regards
and thanks Stefan
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.