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

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