manticoresoftware / manticoresearch-php

Official PHP client for Manticore Search
MIT License
160 stars 32 forks source link

Document ID started from huge number #161

Closed d47081 closed 8 months ago

d47081 commented 8 months ago

Why document IDs started with the huge integer like 3245002253345489025?

Is there any solution to make auto-increment index begin from 1 without providing second attribute in addDocument method?

Thanks

sanikolaev commented 8 months ago

Because it has to include the server ID and timestamp. The detailed explanation can be found in the docs https://manual.manticoresearch.com/Data_creation_and_modification/Adding_documents_to_a_table/Adding_documents_to_a_real-time_table#Auto-ID