You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2016/04/18 11:48:10 UTC
lucene-solr:master: LUCENE-7161 - give enough similar docs for mlt to
match
Repository: lucene-solr
Updated Branches:
refs/heads/master c135e9a7d -> 4751b83c9
LUCENE-7161 - give enough similar docs for mlt to match
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/4751b83c
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4751b83c
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4751b83c
Branch: refs/heads/master
Commit: 4751b83c977962a1c0904260e8cb977ed7aa2fc5
Parents: c135e9a
Author: Tommaso Teofili <to...@apache.org>
Authored: Mon Apr 18 11:47:46 2016 +0200
Committer: Tommaso Teofili <to...@apache.org>
Committed: Mon Apr 18 11:47:46 2016 +0200
----------------------------------------------------------------------
.../src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4751b83c/lucene/queries/src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java
----------------------------------------------------------------------
diff --git a/lucene/queries/src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java b/lucene/queries/src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java
index 5e6466f..f50a3f1 100644
--- a/lucene/queries/src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java
+++ b/lucene/queries/src/test/org/apache/lucene/queries/mlt/TestMoreLikeThis.java
@@ -284,7 +284,7 @@ public class TestMoreLikeThis extends LuceneTestCase {
for (int i = 0; i < 100; i++) {
addShopDoc(writer, "it", itShopItemForSale, itShopItemNotForSale);
}
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 30; i++) {
addShopDoc(writer, "clothes", clothesShopItemForSale, clothesShopItemNotForSale);
}
// Input Document is a clothes shop