def METHOD_NAME(self):
    books = []
    for i in range(150):
        books.append(
            models.Book.objects.create(
                title=f"Book {i}",
                publication_date=date(2017, 10, 21),
                number_of_pages=i,
            )
        )
    index = self.backend.get_index_for_model(models.Book)
    index.add_items(models.Book, books)
    index.refresh()
    results = self.backend.search(MATCH_ALL, models.Book)[10:120]
    self.assertEqual(len(results), 110)