Multi-Value query test

2022-06-23 Thread Patrick Bernardina
How to test if a value in a multi-value field matches a specific query? Example of the problem: I've created a query to return all documents of some specific authors. The authors field contains multi-value sorted set. When showing the result, I want to show only the name of the authors specified

Re: Multi-Value query test

2022-06-23 Thread Michael Wechner
Maybe I misunderstand the problem, but why don't you decouple showing the results from the results of the query? Am 23.06.22 um 14:03 schrieb Patrick Bernardina: How to test if a value in a multi-value field matches a specific query? Example of the problem: I've created a query to return all

Multi-Value Query Test

2022-06-23 Thread Patrick Bernardina
How to test if a value in a multi-value field matches a specific query? Example of the problem: I've created a query to return all documents of some specific authors. The authors field contains multi-value sorted set. When showing the result, I want to show only the name of the authors specified

Re: Multi-Value query test

2022-06-23 Thread Patrick Bernardina
Let me clarify: Example query: "(author:Patrick author:Michael) && type:pdf" Example result: 2 items: Doc1 with authors "Patrick, Adalberto" and Doc2 with authors "Patrick, Michael, Elias" I want to show the 2 items, but when I show the authors, I only want to show the authors that are in the quer

Version of log4j in Lucene 8.11.2

2022-06-23 Thread Kurz, Fred
Categorization: Unclassified Hi: What version of log4j is included in Lucene version 8.11.2? The release notes for Solr 8.11.2 explicitly states log4j version is upgraded to 2.17.2 to address security vulnerabilities, but there is no such note for Lucene. I assume the same is true for Lucene

Re: Version of log4j in Lucene 8.11.2

2022-06-23 Thread Michael Sokolov
Lucene core is a no-dependencies library. Some of the other Lucene modules, and the build and tests, have dependencies, but none of them includes log4j. So sorry, but we won't be making Lucene use log4j 2.17.2; probably you should get your compliance standards changed to include *forbidden* version