So I'd like to do a MLT query combined with a Range but I'd rather it be
based on the ID of a document rather than the text. It looks to me Range is
only available from the Query DSL but not within an MLT API call?
I could, of course, retrieve the document and use the text but fiigured I
was missing something. I see that the Search API is available from within
the MLT API but don't see Range in there.
So I'd like to do a MLT query combined with a Range but I'd rather it be
based on the ID of a document rather than the text. It looks to me Range is
only available from the Query DSL but not within an MLT API call?
I could, of course, retrieve the document and use the text but fiigured I
was missing something. I see that the Search API is available from within
the MLT API but don't see Range in there.
It actually looks like I was able to accomplish it with only one request by
using the More Like This API and including a filter in the body with a
range, like this:
So I'd like to do a MLT query combined with a Range but I'd rather it be
based on the ID of a document rather than the text. It looks to me Range is
only available from the Query DSL but not within an MLT API call?
I could, of course, retrieve the document and use the text but fiigured I
was missing something. I see that the Search API is available from within
the MLT API but don't see Range in there.
It actually looks like I was able to accomplish it with only one request by
using the More Like This API and including a filter in the body with a
range, like this:
So I'd like to do a MLT query combined with a Range but I'd rather it be
based on the ID of a document rather than the text. It looks to me Range is
only available from the Query DSL but not within an MLT API call?
I could, of course, retrieve the document and use the text but fiigured I
was missing something. I see that the Search API is available from within
the MLT API but don't see Range in there.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.