Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-21 Thread Gautam Worah
Hi Prashant, >From your error it looks like the system is somehow trying to run code compiled with Java 23 (major version 67) but is unable to. Gradle 7.6 only has support for Java 19 and lower. Java 23 support was added in Gradle 8.10+. Try running it with JDK 19 or alternatively, the JDK recomm

Confused by DiversifyingChildrenFloatKnnVectorQuery javadocs

2024-10-21 Thread Chris Hostetter
I believe I understand the *purpose* of the DiversifyingChildrenFloatKnnVectorQuery (and DiversifyingChildrenByteKnnVectorQuery) classes, but what I don't understand is the java code example from the javadocs... https://lucene.apache.org/core/9_12_0/join/org/apache/lucene/search/join/Divers

Re: Error Doc id doesn't match the query in vector searches

2024-10-21 Thread Michael Sokolov
I think this might be a better question for solr-user@? EG I don't understand how Solr decides which Query to send to populateScores -- is it the same one that was used to generate the matches in topDocs? It seems as if it should be, but then this error shouldn't happen ... I wonder if you can prin

lucene build failure on Windows using pylucene 9.7.0

2024-10-21 Thread Prashant Saxena
Hello, OS : Windows 10 PyLucene : 9.7.0 JDK : 23.0 Although I can download the binary distribution of version 9.7.0, I have decided to build it from scratch as I am new to javascript and lucene. It will help me learn. 1. downloading and extracting pylucene 2. cd lucene-java-9.7.0 3. gradlew.bat