LUCENE-7161 - give enough similar docs for mlt to match

This commit is contained in:
Tommaso Teofili 2016-04-18 11:47:46 +02:00
parent c135e9a7d6
commit 4751b83c97
1 changed files with 1 additions and 1 deletions

View File

@ -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