branch develop updated (24f863d -> e9a5d00)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository coselmar. See https://gitlab.nuiton.org/codelutin/coselmar.git from 24f863d Dude, remember there is document with no file during index refresh new e9a5d00 Remove 3 chars words from cloud in homepage The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit e9a5d0041ced9587ecd6fefe4cb369bf72794a2c Author: Yannick Martel <martel@©odelutin.com> Date: Thu Jun 1 14:44:57 2017 +0200 Remove 3 chars words from cloud in homepage Summary of changes: .../coselmar/services/indexation/TransverseIndexationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See https://gitlab.nuiton.org/codelutin/coselmar.git commit e9a5d0041ced9587ecd6fefe4cb369bf72794a2c Author: Yannick Martel <martel@©odelutin.com> Date: Thu Jun 1 14:44:57 2017 +0200 Remove 3 chars words from cloud in homepage --- .../coselmar/services/indexation/TransverseIndexationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coselmar-rest/src/main/java/fr/ifremer/coselmar/services/indexation/TransverseIndexationService.java b/coselmar-rest/src/main/java/fr/ifremer/coselmar/services/indexation/TransverseIndexationService.java index 2eceac3..875e957 100644 --- a/coselmar-rest/src/main/java/fr/ifremer/coselmar/services/indexation/TransverseIndexationService.java +++ b/coselmar-rest/src/main/java/fr/ifremer/coselmar/services/indexation/TransverseIndexationService.java @@ -83,13 +83,13 @@ public class TransverseIndexationService extends CoselmarSimpleServiceSupport { DocumentsIndexationService.DOCUMENT_KEYWORD_CLOUD_TAG_PROPERTY, DocumentsIndexationService.DOCUMENT_FILE_CONTENT_INDEX_PROPERTY, }; - TermStats[] highFreqTerms = HighFreqTermsMultiFields.getHighFreqTermsMultiFields(indexReader, 40, searchedFields, new HighFreqTerms.TotalTermFreqComparator()); + TermStats[] highFreqTerms = HighFreqTermsMultiFields.getHighFreqTermsMultiFields(indexReader, 60, searchedFields, new HighFreqTerms.TotalTermFreqComparator()); for (TermStats termStats : highFreqTerms) { long totalTermFreq = termStats.totalTermFreq; String value = termStats.termtext.utf8ToString(); - if (value.length() >= CLOUD_TAG_WORD_MIN_SIZE) { + if (value.length() > CLOUD_TAG_WORD_MIN_SIZE) { if (topWords.containsKey(value)) { topWords.put(value, topWords.get(value) + totalTermFreq); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm