You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/04/02 08:26:49 UTC

[GitHub] [lucene] dweiss opened a new pull request #61: LUCENE-9900: Regenerate/ run ICU only if inputs changed

dweiss opened a new pull request #61:
URL: https://github.com/apache/lucene/pull/61


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] dweiss merged pull request #61: LUCENE-9900: Regenerate/ run ICU only if inputs changed

Posted by GitBox <gi...@apache.org>.
dweiss merged pull request #61:
URL: https://github.com/apache/lucene/pull/61


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] dweiss commented on a change in pull request #61: LUCENE-9900: Regenerate/ run ICU only if inputs changed

Posted by GitBox <gi...@apache.org>.
dweiss commented on a change in pull request #61:
URL: https://github.com/apache/lucene/pull/61#discussion_r606353297



##########
File path: gradle/generation/icu.gradle
##########
@@ -49,6 +49,13 @@ configure(project(":lucene:analysis:icu")) {
     // May be undefined yet, so use a provider.
     dependsOn { sourceSets.tools.runtimeClasspath }
 
+    // gennorm generates file order-dependent output, so make it constant here.

Review comment:
       Thanks Robert. Enjoy your holidays!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] dweiss commented on a change in pull request #61: LUCENE-9900: Regenerate/ run ICU only if inputs changed

Posted by GitBox <gi...@apache.org>.
dweiss commented on a change in pull request #61:
URL: https://github.com/apache/lucene/pull/61#discussion_r606134465



##########
File path: gradle/generation/icu.gradle
##########
@@ -49,6 +49,13 @@ configure(project(":lucene:analysis:icu")) {
     // May be undefined yet, so use a provider.
     dependsOn { sourceSets.tools.runtimeClasspath }
 
+    // gennorm generates file order-dependent output, so make it constant here.

Review comment:
       @rmuir gennorm seems to be order-sensitive - I changed the order to sorted file names - that's why it's regenerated as part of this patch. Is this order somehow important? I can revert to what it was before but this way it's simpler.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] rmuir commented on a change in pull request #61: LUCENE-9900: Regenerate/ run ICU only if inputs changed

Posted by GitBox <gi...@apache.org>.
rmuir commented on a change in pull request #61:
URL: https://github.com/apache/lucene/pull/61#discussion_r606244542



##########
File path: gradle/generation/icu.gradle
##########
@@ -49,6 +49,13 @@ configure(project(":lucene:analysis:icu")) {
     // May be undefined yet, so use a provider.
     dependsOn { sourceSets.tools.runtimeClasspath }
 
+    // gennorm generates file order-dependent output, so make it constant here.

Review comment:
       @dweiss it is my understanding order doesnt matter. so `a > b` followed by `b > c` is the same as `b > c` followed by `a > b`. the normalization will happen recursively so that 'a' maps to 'c' in either case. this recursive process happens at gennorm2 'compile time'. but in version 2 of the file format, they added a mechanism to recover the original non-recursive mappings, so this may cause a data file change even though semanticw are unchanged? just my guess... more details: http://site.icu-project.org/design/normalization/custom




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org