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 <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> > > 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! > > > -- Sincerely yours Mikhail Khludnev https://t.me/MUST_SEARCH A caveat: Cyrillic!
