[ 
https://issues.apache.org/jira/browse/SOLR-11364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132636#comment-18132636
 ] 

ASF subversion and git services commented on SOLR-11364:
--------------------------------------------------------

Commit 311dde8a9798f28ee4e6f9d579f488d69806c829 in solr's branch 
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=311dde8a979 ]

SOLR-11364: fl with globs: return explicit fields, load transformer sources 
(#5188)

When fl has globs (e.g. fl=*_s,myfield), an explicitly named docValues field 
with useDocValuesAsStored=false is now returned, and fields read by document 
transformers like [json f=...] are now loaded. Fields that are only alias or 
transformer names are no longer needlessly loaded.

- Export: an explicitly named field that cannot be exported now errors even 
next to a glob or *, instead of being silently skipped.
- ReturnFields gains loadsField and loadsFieldExplicitly, and wantsField, 
wantsAllFields and wantsScore are renamed returnsField, returnsAllFields and 
returnsScore (the old names are deprecated).
- SolrDocumentFetcher.getNonStoredDVs(boolean) is split into getNonStoredDVs() 
and getNonStoredDVsUsedAsStored().

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>

> Fields with useDocValuesAsStored=false never be returned in case of pattern 
> matching
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-11364
>                 URL: https://issues.apache.org/jira/browse/SOLR-11364
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Cao Manh Dat
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As [~dsmiley] pointed out in SOLR-8344
> bq. in calcDocValueFieldsForReturn. If fl=foo*,dvField and dvField has 
> useDocValuesAsStored=false then the code won't return dvField even though 
> it's been explicitly mentioned.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to