[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16700139#comment-16700139 ] ASF subversion and git services commented on SOLR-12775: Commit 245907228642798f053542e02277d91baa211006 in lucene-solr's branch refs/heads/jira/http2 from [~romseygeek] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2459072 ] SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Assignee: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16695923#comment-16695923 ] ASF subversion and git services commented on SOLR-12775: Commit 245907228642798f053542e02277d91baa211006 in lucene-solr's branch refs/heads/master from [~romseygeek] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2459072 ] SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16695884#comment-16695884 ] Lucene/Solr QA commented on SOLR-12775: --- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 34s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green} 1m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green} 1m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green} 1m 30s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 46m 28s{color} | {color:green} core in the patch passed. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 51m 59s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | SOLR-12775 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12949071/SOLR-12775.patch | | Optional Tests | compile javac unit ratsources checkforbiddenapis validatesourcepatterns | | uname | Linux lucene1-us-west 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:14:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | ant | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh | | git revision | master / 67cdd21 | | ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 | | Default Java | 1.8.0_191 | | Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/232/testReport/ | | modules | C: solr solr/core U: solr | | Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/232/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16694923#comment-16694923 ] Alan Woodward commented on SOLR-12775: -- > Solr should log a warning Ah turns out it does, I was looking in the wrong place - it emits it when it's first loaded, not when the core is created. I'll remove the specialised logger. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16694853#comment-16694853 ] Lucene/Solr QA commented on SOLR-12775: --- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 41s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 31s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 31s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green} 1m 31s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green} 1m 31s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green} 1m 31s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 53m 55s{color} | {color:green} core in the patch passed. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 59m 36s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | SOLR-12775 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12948845/SOLR-12775.patch | | Optional Tests | compile javac unit ratsources checkforbiddenapis validatesourcepatterns | | uname | Linux lucene1-us-west 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:14:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | ant | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh | | git revision | master / 56cb42d | | ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 | | Default Java | 1.8.0_191 | | Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/231/testReport/ | | modules | C: solr solr/core U: solr | | Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/231/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693283#comment-16693283 ] Uwe Schindler commented on SOLR-12775: -- bq. TokenizerFactory.create() returns a Tokenizer, so we can't wrap there either unfortunately. You are right, I remember. There is still a way without code duplication. Just define the Tokenizer as a new class without any code, except: In the constructor create the "real tokenizer" and wrapping tokenfiter chain using the given attributesource/attributefactory and store in final field. Then also override incrementToken(), end() and just delegate to this factory. I did this for a customer a while back, should work. Nevertheless, I am fine with the current patch. We should just figure out why there is no deprecation warning printed automatically. In the past this always worked! > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693152#comment-16693152 ] Uwe Schindler commented on SOLR-12775: -- bq. Patch with test. I had thought that the use of deprecated analysis components automatically logged warnings in Solr, but apparently not, so that's probably something that we should do as a follow-up. Solr should log a warning: https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/core/SolrResourceLoader.java#L571-L575 If not it's a bug. Maybe its moved to a separate deprecatation log file? > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693147#comment-16693147 ] Alan Woodward commented on SOLR-12775: -- TokenizerFactory.create() returns a Tokenizer, so we can't wrap there either unfortunately. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693140#comment-16693140 ] Uwe Schindler commented on SOLR-12775: -- Nevertheless, wh not just create a Tokenizer factory that creates a LetterTokenizer, wrapped by LowercaseFilter? Then all is fine. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693139#comment-16693139 ] Uwe Schindler commented on SOLR-12775: -- A sorry, I forgot that normalize is gone in CharTokenizer. Too bad. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16693132#comment-16693132 ] Uwe Schindler commented on SOLR-12775: -- IMHO, we do not need to clone the tokenizer, as the base class has all required functionality! I'd only add the deprecated LowercaseTokenizerFactory that just calls: {{return CharTokenizer.fromTokenCharPredicate(Character::isLetter, Character::toLowerCase);}} in create. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch, > SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692982#comment-16692982 ] Lucene/Solr QA commented on SOLR-12775: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 55s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green} 1m 34s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} Validate source patterns {color} | {color:red} 1m 34s{color} | {color:red} Validate source patterns validate-source-patterns failed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 48m 13s{color} | {color:green} core in the patch passed. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 54m 23s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | SOLR-12775 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12948695/SOLR-12775.patch | | Optional Tests | compile javac unit ratsources checkforbiddenapis validatesourcepatterns | | uname | Linux lucene1-us-west 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:14:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | ant | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh | | git revision | master / 25bca6f | | ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 | | Default Java | 1.8.0_191 | | Validate source patterns | https://builds.apache.org/job/PreCommit-SOLR-Build/230/artifact/out/patch-validate-source-patterns-root.txt | | Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/230/testReport/ | | modules | C: solr/core U: solr/core | | Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/230/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16691533#comment-16691533 ] Alan Woodward commented on SOLR-12775: -- Final patch for Yetus to grind on > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16621827#comment-16621827 ] Alan Woodward commented on SOLR-12775: -- Updated patch, taking into account changes in how CharTokenizer works. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch, SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16620851#comment-16620851 ] David Smiley commented on SOLR-12775: - That's a great user experience; sure. Please go ahead with your patch if you like. I was trying to articulate there are trade-offs including the extra effort both up front and for some future removal event. I don't think we have to hold ourselves to this level of back-compat experience (i.e. need not insist they get a logged message for use of something deprecated). > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16620573#comment-16620573 ] Alan Woodward commented on SOLR-12775: -- I'd argue that a rolling upgrade should work the other way round. You restart everything, and then the logs tell you what's deprecated and needs to be changed before the next go-around. Inspecting large schemas and trying to find everything that's been deprecated by hand makes it easy to miss things - why not let the code do it for you instead? > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16617451#comment-16617451 ] David Smiley commented on SOLR-12775: - A rolling upgrade would be change the schema 1st – use {{UnicodeWhitespaceTokenizer}} followed by {{LowerCaseFilterFactory}} and 2nd use the next Solr version. A _code_ level deprecation would be nice, but I don't think required. We will certainly mention how to upgrade in CHANGES.txt. I'm trying to avoid extra work on ourselves to remove old stuff when there's an easy path, and furthermore avoid adding technical debt for some future major reversion to remove something that we might actually not pay down. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16616881#comment-16616881 ] Alan Woodward commented on SOLR-12775: -- Breaking schemas over a major version with no deprecation warnings means that you can't do a rolling upgrade. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16616836#comment-16616836 ] David Smiley commented on SOLR-12775: - Why keep this around in Solr? Can't a Solr user upgrade their configuration? We should of course document what that'd look like. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-12775) Add a deprecated implementation of LowerCaseTokenizer
[ https://issues.apache.org/jira/browse/SOLR-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16616455#comment-16616455 ] Alan Woodward commented on SOLR-12775: -- Patch with test. I had thought that the use of deprecated analysis components automatically logged warnings in Solr, but apparently not, so that's probably something that we should do as a follow-up. > Add a deprecated implementation of LowerCaseTokenizer > - > > Key: SOLR-12775 > URL: https://issues.apache.org/jira/browse/SOLR-12775 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Reporter: Alan Woodward >Priority: Blocker > Fix For: master (8.0) > > Attachments: SOLR-12775.patch > > > LUCENE-8498 will remove LowerCaseTokenizer and LowerCaseTokenizerFactory from > lucene 8. To make upgrading from Solr 7.x to Solr 8 easier for users who > have schemas that use LowerCaseTokenizerFactory, we should add a deprecated > copy of the code to the {{org.apache.solr.analysis}} package. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org