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:26:34 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_2 108c89e73 -> 12cd2a435


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

(cherry picked from commit 292b30e)


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

Branch: refs/heads/branch_7_2
Commit: 12cd2a4352f4851abd88c7e1db7db5a0bd92aaa9
Parents: 108c89e
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:26:29 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/12cd2a43/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 82beff5..0828be1 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -628,6 +628,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/12cd2a43/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