We want to retrieve all documents that have a common part in their ids.
For example we want to retrieve all ids that starts with B*.
I saw the ids query, but it is not we want and also using a regexp on _id or uid fields doesn't work ("Can only use regexp queries on keyword and text fields - not on [_uid] which is of type [_uid]").
you might want to check out the prefix query. Also note, that _uid also contains the type, so maybe just add that id field in your JSON body and then go from there.
Thank you for your quick response, but prefix query doesn't work also ("Can only use prefix queries on keyword and text fields - not on [_id] which is of type [_id]", similar for _uid).
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.