I understand the PercolateQueryBuilder is deprecated, as this approach is flagged as such:
PercolateQueryBuilder percolateQuery = new PercolateQueryBuilder("query", "typeName", b.bytes());
In reviewing the source at:
I noticed that the version of the builder without the deprecated 'type' is not deprecated.
public PercolateQueryBuilder(String field, BytesReference document, XContentType documentXContentType) {
this(field, null, document, documentXContentType);
}
Will this constructor have a life going forward?
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.