From d35a60e730ee60aa3336d71349beb6f1e9d10f95 Mon Sep 17 00:00:00 2001 From: lizbiella <114702254+lizbiella@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:47:52 +0100 Subject: [PATCH] Create 2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md added a blog post about Apache solr filter queries --- ...solr-filter-queries-integer-or-string-fields.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 content/pages/blogposts/2024-11-26-apache-solr-filter-queries-integer-or-string-fields.md 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)