mirror of https://github.com/apache/lucene.git
LUCENE-7161 - give enough similar docs for mlt to match
This commit is contained in:
parent
c135e9a7d6
commit
4751b83c97
|
@ -284,7 +284,7 @@ public class TestMoreLikeThis extends LuceneTestCase {
|
||||||
for (int i = 0; i < 100; i++) {
|
for (int i = 0; i < 100; i++) {
|
||||||
addShopDoc(writer, "it", itShopItemForSale, itShopItemNotForSale);
|
addShopDoc(writer, "it", itShopItemForSale, itShopItemNotForSale);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 30; i++) {
|
||||||
addShopDoc(writer, "clothes", clothesShopItemForSale, clothesShopItemNotForSale);
|
addShopDoc(writer, "clothes", clothesShopItemForSale, clothesShopItemNotForSale);
|
||||||
}
|
}
|
||||||
// Input Document is a clothes shop
|
// Input Document is a clothes shop
|
||||||
|
|
Loading…
Reference in New Issue