This is an automated email from the ASF dual-hosted git repository. abenedetti pushed a commit to branch production in repository https://gitbox.apache.org/repos/asf/solr-site.git
The following commit(s) were added to refs/heads/production by this push: new faab8c894 Create 2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md (#133) (#134) faab8c894 is described below commit faab8c894d2defe896e40e490c8897476d449b3f Author: Alessandro Benedetti <a.benede...@sease.io> AuthorDate: Fri Nov 29 11:11:15 2024 +0000 Create 2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md (#133) (#134) added a blog post about Apache solr filter queries Co-authored-by: Lisa <114702254+lizbie...@users.noreply.github.com> --- ...-apache-solr-filter-queries-integer-or-string-fields.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/pages/blogposts/2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md b/content/pages/blogposts/2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md new file mode 100644 index 000000000..bf1c8625f --- /dev/null +++ b/content/pages/blogposts/2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md @@ -0,0 +1,14 @@ +Title: Apache Solr Filter Queries: Integer or String Fields? +category: solr/blogposts +summary: Let's explore whether to index a field in Apache Solr as a string or integer for optimal filter query performance. Written by Ilaria Petreti, Information Retrieval/Machine Learning Engineer at Sease. +slug: apache-solr-filter-queries-integer-or-string-fields +URL: blogposts/apache-solr-filter-queries-integer-or-string-fields.html +save_as: blogposts/apache-solr-filter-queries-integer-or-string-fields.html + +# Apache Solr Filter Queries: Integer or String Fields? + +Imagine you are setting up an Apache Solr index and need to handle a field representing an ID that will be used frequently in filter queries. +The key question is: how should you index this field for optimal performance? Should you use a string field type, or would an integer field type be more efficient? + +Let's combine the results of a local experiment with insights from online research to evaluate which option delivers better performance. Continue to the full post here: [Apache Solr Filter Queries: Integer or String Fields? +](https://sease.io/2024/11/apache-solr-filter-queries-integer-or-string-fields.html)