You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by GitBox <gi...@apache.org> on 2019/04/08 14:11:58 UTC

[GitHub] [lucene-solr] ollik1 opened a new pull request #638: LUCENE-8756: Fix MLT like text with custom frequencies

ollik1 opened a new pull request #638: LUCENE-8756: Fix MLT like text with custom frequencies
URL: https://github.com/apache/lucene-solr/pull/638
 
 
   When an analyzer with custom term frequencies is used with MLT like
   texts, the custom term frequencies are incorrectly omitted and a fixed
   frequency of 1 is used instead.
   
   This commit fixes the issue by using `TermFrequencyAttribute` to get
   the term frequencies instead of using fixed 1. Also adds test cases
   for them mentioned issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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