You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2017/12/06 16:25:34 UTC

lucene-solr:branch_7x: SOLR-11078: Add note about the trade-off between Point and Trie fields.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 0a35075ee -> 292b30e69


SOLR-11078: Add note about the trade-off between Point and Trie fields.

(cherry picked from commit d84c92e)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/292b30e6
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/292b30e6
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/292b30e6

Branch: refs/heads/branch_7x
Commit: 292b30e697fedcc304981fe00be2537f071cb1e1
Parents: 0a35075
Author: David Smiley <ds...@apache.org>
Authored: Wed Dec 6 11:23:46 2017 -0500
Committer: David Smiley <ds...@apache.org>
Committed: Wed Dec 6 11:25:06 2017 -0500

----------------------------------------------------------------------
 solr/CHANGES.txt                                            | 3 +++
 solr/solr-ref-guide/src/field-types-included-with-solr.adoc | 5 +++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/292b30e6/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 96ce040..d55e18c 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -645,6 +645,9 @@ Upgrading from Solr 6.x
 ----------------------
 
 * All Trie* numeric and date field types have been deprecated in favor of *Point field types.
+  Point field types are better at range queries (speed, memory, disk), however simple field:value queries underperform
+  relative to Trie. Either accept this, or continue to use Trie fields.
+  This shortcoming may be addressed in a future release.
 
 * The default response type is now JSON ("wt=json") instead of XML, and line indentation is now on by default
   ("indent=on"). If you expect the responses to your queries to be returned in the previous format (XML

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/292b30e6/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/field-types-included-with-solr.adoc b/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
index 3c4e613..66217ec 100644
--- a/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
+++ b/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
@@ -87,3 +87,8 @@ Configuration and usage of PreAnalyzedField is documented in the section  <<work
 
 *Note*: configuring a UUIDField instance with a default value of `NEW` is not advisable for most users when using SolrCloud (and not possible if the UUID value is configured as the unique key field) since the result will be that each replica of each document will get a unique UUID value. Using UUIDUpdateProcessorFactory to generate UUID values when documents are added is recommended instead.
 |===
+
+NOTE: All Trie* numeric and date field types have been deprecated in favor of *Point field types.
+      Point field types are better at range queries (speed, memory, disk), however simple field:value queries underperform
+      relative to Trie. Either accept this, or continue to use Trie fields.
+      This shortcoming may be addressed in a future release.
\ No newline at end of file