lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Created] (SOLR-5564) hl.maxAlternateFieldLength should apply to original field when fallback is attempted
Date Fri, 20 Dec 2013 13:36:09 GMT
Jan Høydahl created SOLR-5564:
---------------------------------

             Summary: hl.maxAlternateFieldLength should apply to original field when fallback
is attempted
                 Key: SOLR-5564
                 URL: https://issues.apache.org/jira/browse/SOLR-5564
             Project: Solr
          Issue Type: Bug
          Components: highlighter
            Reporter: Jan Høydahl
             Fix For: 5.0, 4.7


For a customer we use {{f.body.hl.alternateField=teaser&hl.maxAlternateFieldLength=100}}
But some articles do not have the teaser field filled at all, so for queries that do not match
the body, we get the full huge body returned in the frontend.

If the highlighter has tried to fallback to the alternateField, then hl.maxAlternateFieldLength
should always apply, even to text from the original field if alternateFIeld does not exist.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message