You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Matthias Messner (Jira)" <ji...@apache.org> on 2022/02/21 15:58:00 UTC
[jira] [Commented] (SOLR-3955) Return only matched multiValued field
[ https://issues.apache.org/jira/browse/SOLR-3955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495601#comment-17495601 ]
Matthias Messner commented on SOLR-3955:
----------------------------------------
Is there any workaround or patch available? If yes, where can I find it?
> Return only matched multiValued field
> -------------------------------------
>
> Key: SOLR-3955
> URL: https://issues.apache.org/jira/browse/SOLR-3955
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 4.0
> Reporter: Dotan Cohen
> Priority: Major
> Labels: features
>
> Assuming a multivalued, stored and indexed field named "comment". When performing a search, it would be very helpful if there were a way to return only the values of "comment" which contain the match. For example:
> When searching for "gold" instead of getting this result:
> <doc>
> <arr name="comment">
> <str>Theres a lady whos sure</str>
> <str>all that glitters is gold</str>
> <str>and shes buying a stairway to heaven</str>
> </arr>
> </doc>
> I would prefer to get this result:
> <doc>
> <arr name="comment">
> <str>all that glitters is gold</str>
> </arr>
> </doc>
> (psuedo-XML from memory, may not be accurate but illustrates the point)
> Thanks.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org