donnerpeter merged PR #11909:
URL: https://github.com/apache/lucene/pull/11909
--
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.
To unsubscribe, e-mail: issues-unsubscr...@lucene
uschindler commented on code in PR #11909:
URL: https://github.com/apache/lucene/pull/11909#discussion_r1020151061
##
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/FragmentChecker.java:
##
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation
uschindler commented on PR #11918:
URL: https://github.com/apache/lucene/pull/11918#issuecomment-1311649830
@jpountz Do you want to do a review, otherwise I will merge this later this
afternoon?
--
This is an automated message from the Apache Git Service.
To respond to the message, please
LuXugang opened a new issue, #11920:
URL: https://github.com/apache/lucene/issues/11920
### Description
Hi, when I try to run `./gradlew check` on my new PC (Windows11), I got this
failure below:
> java.lang.AssertionError
> at
__randomizedtesting.SeedInfo
dweiss commented on code in PR #11909:
URL: https://github.com/apache/lucene/pull/11909#discussion_r1020253325
##
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/FragmentChecker.java:
##
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF
jpountz commented on code in PR #11917:
URL: https://github.com/apache/lucene/pull/11917#discussion_r1020267346
##
lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java:
##
@@ -235,7 +235,7 @@ public IndexInput openInput(String name, IOContext context)
throws IOExcept
jpountz commented on code in PR #11880:
URL: https://github.com/apache/lucene/pull/11880#discussion_r1020272878
##
lucene/core/src/java/org/apache/lucene/index/CheckIndex.java:
##
@@ -65,17 +65,8 @@
import org.apache.lucene.store.FSDirectory;
import org.apache.lucene.store.IOC
msokolov commented on issue #11702:
URL: https://github.com/apache/lucene/issues/11702#issuecomment-1311770941
just want to point out that objects exist in many different places in
space-time
--
This is an automated message from the Apache Git Service.
To respond to the message, please lo
uschindler closed issue #11912: Can we improve MMapDir's exceptions for invalid
offsets?
URL: https://github.com/apache/lucene/issues/11912
--
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 specif
uschindler merged PR #11918:
URL: https://github.com/apache/lucene/pull/11918
--
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.
To unsubscribe, e-mail: issues-unsubscr...@lucene.
rmuir commented on issue #11912:
URL: https://github.com/apache/lucene/issues/11912#issuecomment-1311903736
Thanks @uschindler !
--
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 comme
nknize commented on issue #11702:
URL: https://github.com/apache/lucene/issues/11702#issuecomment-1311921916
> our implementation is based on the Elasticsearch framework (on the
BinaryFieldMapper.CustomBinaryDocValuesField to be exact)
@rendel I haven't looked at that implementati
uschindler commented on code in PR #11917:
URL: https://github.com/apache/lucene/pull/11917#discussion_r1020403519
##
lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java:
##
@@ -235,7 +235,7 @@ public IndexInput openInput(String name, IOContext context)
throws IOExc
uschindler commented on code in PR #11917:
URL: https://github.com/apache/lucene/pull/11917#discussion_r1020403519
##
lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java:
##
@@ -235,7 +235,7 @@ public IndexInput openInput(String name, IOContext context)
throws IOExc
uschindler commented on code in PR #11917:
URL: https://github.com/apache/lucene/pull/11917#discussion_r1020409331
##
lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java:
##
@@ -235,7 +235,7 @@ public IndexInput openInput(String name, IOContext context)
throws IOExc
uschindler commented on code in PR #11917:
URL: https://github.com/apache/lucene/pull/11917#discussion_r1020410114
##
lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java:
##
@@ -235,7 +235,7 @@ public IndexInput openInput(String name, IOContext context)
throws IOExc
rmuir commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311960933
I'm not looking into `IntLongMath` check but instead a couple targeted
checks:
*
[NarrowingCompoundAssignment](https://errorprone.info/bugpattern/NarrowingCompoundAssignment):
thi
risdenk commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311964746
> I wish i knew a way to make error-prone show all the failures (like javac
would). Instead the plugin fails on the first error and I have to fix that one
and run it again (slowly)
dweiss commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311968455
-Pjavac.failOnWarnings=false
should do it. Look at javac.gradle, we specifically enable -Werror:
```
if (propertyOrDefault("javac.failOnWarnings", true).toBoolea
risdenk opened a new pull request, #11921:
URL: https://github.com/apache/lucene/pull/11921
### Description
--
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.
To u
risdenk commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311973642
https://github.com/apache/lucene/pull/11921
run with:
```
./gradlew check -x test -Pvalidation.errorprone=true
-Pjavac.failOnWarnings=false -Pvalidation.git.failOnMo
risdenk commented on PR #11921:
URL: https://github.com/apache/lucene/pull/11921#issuecomment-1311974711
I have not looked at fixing anything just showing its possible to run this
without failing and get all the findings at once. FYI @rmuir
--
This is an automated message from the Apache
risdenk commented on PR #11921:
URL: https://github.com/apache/lucene/pull/11921#issuecomment-1311978301
Output from run enabling `IntLogMath` rule:
```
➜ lucene git:(github-11910) ./gradlew check -x test
-Pvalidation.errorprone=true -Pjavac.failOnWarnings=false
-Pvalidation.git.
risdenk commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311978932
I put the output for enabling `IntLongMath` in the PR comment:
https://github.com/apache/lucene/pull/11921#issuecomment-1311978301
--
This is an automated message from the Apache
rmuir commented on PR #11921:
URL: https://github.com/apache/lucene/pull/11921#issuecomment-1311983115
This is awesome, thank you for investigating @risdenk !!!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL a
risdenk commented on code in PR #11921:
URL: https://github.com/apache/lucene/pull/11921#discussion_r1020443200
##
gradle/validation/error-prone.gradle:
##
@@ -68,6 +68,7 @@ allprojects { prj ->
options.errorprone.disableWarningsInGeneratedCode = true
options
rmuir commented on PR #11921:
URL: https://github.com/apache/lucene/pull/11921#issuecomment-1312000223
Yeah I would have never got thru the issues the old way i was trying to do
it. Now i can just do:
`/gradlew assemble -Pvalidation.errorprone=true -Pjavac.failOnWarnings=false
> ~/overfl
shubhamvishu commented on issue #11914:
URL: https://github.com/apache/lucene/issues/11914#issuecomment-1312012201
I can work on it. But to understand better, I see this being used in
`ExitableDirectoryReader` where conditionally the `ExitableXYZ` wrapper is
returned for `XYZ` class. Could
rmuir commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1312078209
OK i checked out old git hash before #11905 commit, seems like
"NarrowCalculation" is the best one? I think i made a mistake trying to turn on
too many checks at once.
I enable
gsmiller opened a new issue, #11922:
URL: https://github.com/apache/lucene/issues/11922
### Description
I believe we have an opportunity to improve disjunction evaluation by "short
circuiting" within DisjunctionDISIApproximation / DisjunctionScorer. When a
disjunction clause _does no
rmuir commented on issue #11910:
URL: https://github.com/apache/lucene/issues/11910#issuecomment-1312171394
i've worked thru src/java and now i gotta deal with src/test, then ill make
a PR so we can see what it looks like
--
This is an automated message from the Apache Git Service.
To res
rmuir opened a new pull request, #11923:
URL: https://github.com/apache/lucene/pull/11923
This check finds bugs such as https://github.com/apache/lucene/pull/11916.
For that particular bug, the error messages look like this:
```
/home/rmuir/workspace/lucene/lucene/core/src/java/
risdenk commented on code in PR #11923:
URL: https://github.com/apache/lucene/pull/11923#discussion_r1020579969
##
lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java:
##
@@ -414,7 +414,7 @@ private void rehash(final int newSize, boolean hashOnData) {
}
has
risdenk commented on code in PR #11923:
URL: https://github.com/apache/lucene/pull/11923#discussion_r1020580110
##
lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java:
##
@@ -414,7 +414,7 @@ private void rehash(final int newSize, boolean hashOnData) {
}
has
rmuir commented on PR #11923:
URL: https://github.com/apache/lucene/pull/11923#issuecomment-1312221930
This NarrowCalculation is specific to multiplication, which was the issue
for #11905. It would not have detected the multiplication issue for the bug
before that (#11861), as that one neve
uschindler commented on code in PR #11923:
URL: https://github.com/apache/lucene/pull/11923#discussion_r1020582330
##
lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java:
##
@@ -414,7 +414,7 @@ private void rehash(final int newSize, boolean hashOnData) {
}
rmuir commented on code in PR #11923:
URL: https://github.com/apache/lucene/pull/11923#discussion_r1020582937
##
lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java:
##
@@ -414,7 +414,7 @@ private void rehash(final int newSize, boolean hashOnData) {
}
hashM
vsop-479 commented on PR #11888:
URL: https://github.com/apache/lucene/pull/11888#issuecomment-1312341594
@jpountz I added a test case for this bug, but it only works for
TestLucene90PostingsFormat which's DEFAULT_MIN_BLOCK_SIZE is 25, add build the
first block with 25 entries.
It not w
38 matches
Mail list logo