[ https://issues.apache.org/jira/browse/SOLR-13367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860656#comment-16860656 ]
Alan Woodward commented on SOLR-13367: -------------------------------------- Let's move fromTermsEnum() into MatchesUtils. +1 otherwise > Highlighting fails for Range queries on Multi-valued String fields > ------------------------------------------------------------------ > > Key: SOLR-13367 > URL: https://issues.apache.org/jira/browse/SOLR-13367 > Project: Solr > Issue Type: Bug > Components: highlighter > Affects Versions: 7.5, 7.7.1 > Environment: RedHat Linux v7 > Java 1.8.0_201 > Reporter: Karl Wolf > Assignee: David Smiley > Priority: Major > Attachments: SOLR-13367.patch > > Time Spent: 20m > Remaining Estimate: 0h > > Range queries against multi-valued string fields produces useless > highlighting, even though "hl.highlightMultiTerm":"true" > I have uncovered what I believe is a bug. At the very lease it is a > difference in behavior between Solr v5.1.0 and v7.5.0 (and v7.7.1). > I have a multi-valued string Field defined in my schema as: > <fieldType name="string" class="solr.StrField" sortMissingLast="true"/> > <field name="MyStringField" type="string" indexed="true" stored="true" > multiValued="true" /> > I am using a query containing a Range clause and I am using highlighting to > get the list of values that actually matched the range query. > All examples below were using the appropriate Solr Admin Server SolrCore > Query page. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org