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* versions rather than *required* versions :)

On Thu, Jun 23, 2022 at 9:57 AM Kurz, Fred
 wrote:
>
> 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 8.11.2 since Solr is a subproject, but I 
> need it confirmed.
>
> I am trying to get Lucene 8.11.2 certified for use in my organization but 
> certification is contingent on Lucene using log4j 2.17.2.  A prompt reply 
> would be greatly appreciated.
>
> Thanks,
> Fred Kurz
>

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



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 8.11.2 since Solr is a subproject, but I 
need it confirmed.

I am trying to get Lucene 8.11.2 certified for use in my organization but 
certification is contingent on Lucene using log4j 2.17.2.  A prompt reply would 
be greatly appreciated.

Thanks,
Fred Kurz



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 query also:
Doc1 - Patrick
Doc1 - Patrick, Michael

So, I need to test each author value if is valid for the same query used
for the resultSet.



Il giorno gio 23 giu 2022 alle ore 08:08 Michael Wechner <
michael.wech...@wyona.com> ha scritto:

> 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 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 on the query, even if the document has more authors.
> >
>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>


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 on the query, even if the document has more authors.


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 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 on the query, even if the document has more authors.




-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



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 on the query, even if the document has more authors.