@detail_route(methods=["get"], url_path="more-like-this")
    def more_like_this(self, request, pk=None):
        queryset = self.filter_queryset(self.get_queryset())
        mlt_queryset = queryset.more_like_this(self.get_object().object)

        page = self.paginate_queryset(mlt_queryset)
        if page is not None:
            serializer = self.get_serializer(page, many=True)
            return self.get_paginated_response(serializer.data)

        serializer = self.get_serializer(mlt_queryset, many=True)
        return Response(serializer.data)
Sets up a detail route for ``more-like-this`` results.
dataset/ETHPy150Open inonit/drf-haystack/drf_haystack/viewsets.py/HaystackViewSet.more_like_this