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 <m...@apache.org> wrote: > 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 <rajinima...@gmail.com> > wrote: > > > 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 > > > > > -- > Sincerely yours > Mikhail Khludnev > https://t.me/MUST_SEARCH > A caveat: Cyrillic! >