According to the documentation it's possible to configure the import response to return the ingested document's id in the response. To achieve this you can use the return_id parameter.
The import_ function allows us to provide an instance of ImportDocumentsParameters. However, this class does not provide a way to configure the flag return_id.
Steps to reproduce
Check the methods of ImportDocumentsParameters class.
Expected Behavior
I expect to be able to configure the return_id flag using either a setter or a builder method within the ImportDocumentsParameters class.
For example:
Using setter method:
ImportDocumentsParameters params = new ImportDocumentsParameters();
params.setReturnId(true);
Using builder method:
ImportDocumentsParameters params = new ImportDocumentsParameters().returnId(true);
Actual Behavior
It's not possible to configure the return_id flag.
Description
According to the documentation it's possible to configure the import response to return the ingested document's id in the response. To achieve this you can use the
return_id
parameter.The
import_
function allows us to provide an instance ofImportDocumentsParameters
. However, this class does not provide a way to configure the flagreturn_id
.Steps to reproduce
Check the methods of
ImportDocumentsParameters
class.Expected Behavior
I expect to be able to configure the
return_id
flag using either a setter or a builder method within theImportDocumentsParameters
class.For example:
Using setter method:
Using builder method:
Actual Behavior
It's not possible to configure the
return_id
flag.Metadata
Typesense Version: 0.25.2
OS: N/A