Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Dawid Weiss
It is a bug in gradle. If you look at the stack trace, it's clearly just happily logging a missing output and returns null: https://github.com/gradle/gradle/blob/v7.3.3/subprojects/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocat

Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Robert Muir
Looks to me like a gradle bug, detecting and trying to run some visual studio command (vswhere.exe) elsewhere on your system, and it does the wrong thing parsing its output. On Tue, Sep 13, 2022 at 3:00 PM Rahul Goswami wrote: > > Hi Dawid, > I believe you. Just that for some reason I have never

Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Rahul Goswami
Hi Dawid, I believe you. Just that for some reason I have never been able to get it to work on Windows. Also, being a complete newbie to gradle doesn't help much. So would appreciate some help on this while I find my footing. Here is the link to the diagnostics that you requested (since attachments

Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Dawid Weiss
Hi Rahul, Well, that's weird. > "releases/lucene/9.2.0" -> Run "gradlew help" > > If you need additional stacktrace or other diagnostics I am happy to > provide the same. Could you do the following: 1) run: git --version so that we're on the same page as to what the git version is (I don't thi

Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Rahul Goswami
Hi Dawid, I tried with Gitbash only after "gradlew help" failed on cmd. Just now tried Powershell as well and get the exact same error message. The steps I performed were, clone the repo -> create a branch from tag "releases/lucene/9.2.0" -> Run "gradlew help" If you need additional stacktrace or

Re: Lucene 9.2.0 build fails on Windows

2022-09-13 Thread Dawid Weiss
It does work just fine. Use cmd or powershell though. I don't think things are even tested with cygwin/msys. Dawid On Tue, Sep 13, 2022 at 4:55 AM Rahul Goswami wrote: > > Hello, > I am using gitbash to build lucene 9.2.0 on Windows. I checked out the > release/lucene/9.2.0 tag and tried running

Question regarding UnifiedHighlighter and SynonymGraphFilter

2022-09-13 Thread Rune Stilling
Hi list I’m using the SynonymGraphFilter in Lucene 8.11 together with the UnifiedHighlighter class. I’m not sure if they are supposed to work seamlessly together but I’m having issues with the highlighter showing partial matches of multi token synonym phrases. Ie. the word “in” in the following