I really need attribute [Autogenerated] for my id.
So I can insert new item in my index when index doesn't linked with database by id.
This will be in the next release (3.7). A blog post about this is coming up too.
AdminDennis (Admin, SphinxConnector.NET) commented
Hi Arkady, thanks for your suggestion. This is something that's already on our to-do list for the fluent API and should be available with one of the next releases. You'll be able to specify two methods: one to determine whether the document that is about to be saved needs an id assigned (default will check if id is 0), and one to actually generate the id.
The id generator would have to be implemented by you, because it might kind of persistent storage to store e.g. the last generated id or hi/lo values (depending of course on what algorithm you're going to use to generate the ids).