You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/04/08 21:56:23 UTC
[jira] [Comment Edited] (SOLR-5936) Deprecate non-Trie-based
numeric (and date) field types in 4.x and remove them from 5.0
[ https://issues.apache.org/jira/browse/SOLR-5936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963355#comment-13963355 ]
Steve Rowe edited comment on SOLR-5936 at 4/8/14 7:55 PM:
----------------------------------------------------------
Patch removing non-Trie numeric/date field types from trunk.
Note that the example-DIH schemas are not addressed here - I'll do that under SOLR-5937 once I've committed here.
Run the following bash script before applying the patch:
{noformat}
for a in BCD{Int,Long,Str}Field.java DateField.java {Sortable,}{Double,Long,Float,Int}Field.java ; do
svn rm solr/core/src/java/org/apache/solr/schema/$a
done
svn rm solr/core/src/java/org/apache/solr/util/BCDUtils.java
svn rm solr/core/src/test/org/apache/solr/util/TestNumberUtils.java
{noformat}
Solr tests pass, after several fun-filled days of legacy-field-type whack-a-mole...
I think it's ready. I'll commit tomorrow unless there are objections.
was (Author: steve_rowe):
Patch removing non-Trie numeric/date field types from trunk.
Note that the example-DIH schemas are not addressed here - I'll do that under SOLR-5937 once I've committed here.
Run the following bash script before applying the patch:
{quote}
for a in BCD{Int,Long,Str}Field.java DateField.java {Sortable,}{Double,Long,Float,Int}Field.java ; do
svn rm solr/core/src/java/org/apache/solr/schema/$a
done
svn rm solr/core/src/java/org/apache/solr/util/BCDUtils.java
svn rm solr/core/src/test/org/apache/solr/util/TestNumberUtils.java
{quote}
Solr tests pass, after several fun-filled days of legacy-field-type whack-a-mole...
I think it's ready. I'll commit tomorrow unless there are objections.
> Deprecate non-Trie-based numeric (and date) field types in 4.x and remove them from 5.0
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-5936
> URL: https://issues.apache.org/jira/browse/SOLR-5936
> Project: Solr
> Issue Type: Task
> Components: Schema and Analysis
> Reporter: Steve Rowe
> Assignee: Steve Rowe
> Priority: Minor
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5936.branch_4x.patch, SOLR-5936.branch_4x.patch, SOLR-5936.branch_4x.patch, SOLR-5936.trunk.patch
>
>
> We've been discouraging people from using non-Trie numeric&date field types for years, it's time we made it official.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org