lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Tucknat (JIRA)" <>
Subject [jira] [Commented] (SOLR-3955) Return only matched multiValued field
Date Fri, 01 Mar 2013 15:43:12 GMT


Sandeep Tucknat commented on SOLR-3955:

This is especially important in a spatial search since there's an important business case
of finding the branches/locations for an entity within a spatial filtering query. While the
multi-valued spatial field implementation provides for filtering and scoring, it does not
return this information to the client at the moment.
> Return only matched multiValued field
> -------------------------------------
>                 Key: SOLR-3955
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 4.0
>            Reporter: Dotan Cohen
>              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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message