You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2017/12/07 12:45:30 UTC

[36/50] [abbrv] lucene-solr:jira/solr-11285-sim: SOLR-11078: Add note about the trade-off between Point and Trie fields.

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


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

Branch: refs/heads/jira/solr-11285-sim
Commit: d84c92ed113721247938bb88680e01c888b65a77
Parents: 5b4efc5
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:23:46 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/d84c92ed/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 2043481..c3b9045 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -662,6 +662,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/d84c92ed/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