Re: Return field aliasing for id field does not work

2023-02-28 Thread Mikhail Khludnev
Nope: never trust noone, you know. Make an account for you, check the mail please. On Tue, Feb 28, 2023 at 5:17 AM Rajani Maski wrote: > Thank you, appreciate it. I will follow along on the jira for a solution > and workaround if any. > Can I create a jira account myself? > > > On Sat, Feb 25, 2

Re: Return field aliasing for id field does not work

2023-02-27 Thread Rajani Maski
Thank you, appreciate it. I will follow along on the jira for a solution and workaround if any. Can I create a jira account myself? On Sat, Feb 25, 2023 at 7:36 AM Mikhail Khludnev wrote: > Hello, Rajani. > I've got the point. I filled > https://issues.apache.org/jira/browse/SOLR-16681 > Do you

Re: Return field aliasing for id field does not work

2023-02-25 Thread Mikhail Khludnev
Hello, Rajani. I've got the point. I filled https://issues.apache.org/jira/browse/SOLR-16681 Do you need a jira account to join discussion? On Fri, Feb 24, 2023 at 6:19 PM Rajani Maski wrote: > Hi Mikhail, > > The issue is when "id" is the name of the alias. Map the value of "id" to > "old_id"

Re: Return field aliasing for id field does not work

2023-02-24 Thread Rajani Maski
Hi Mikhail, The issue is when "id" is the name of the alias. Map the value of "id" to "old_id" (fl=old_id:id) and then map "id" to "new_id" so the return field list is "fl=old_id:id,id:new_id" On Thu, Feb 23, 2023, 9:42 AM Mikhail Khludnev wrote: > Hello, Rajani. > I build and launched fresh

Re: Return field aliasing for id field does not work

2023-02-23 Thread Mikhail Khludnev
Hello, Rajani. I build and launched fresh [main] branch. fl aliasing works there, here's the proof pic https://pasteboard.co/KNFAyGPzBKFP.png On Thu, Feb 23, 2023 at 5:06 AM Rajani Maski wrote: > Hi, > > Solr 9.x, aliasing "id" field in return fields list with a different field > value does no

Return field aliasing for id field does not work

2023-02-22 Thread Rajani Maski
Hi, Solr 9.x, aliasing "id" field in return fields list with a different field value does not work the same as 7.x. fl=unique_key:id,id:some_field. This returns an empty docs array in the response. Any alternative? Thanks, rajani