: > Is it possible to define a field as "Counter Column" which can be : > auto-incremented.
a feature like this does not exist in Solr at the moment, but it would be possible to implement this fairly easily in an UpdateProcessor -- however it would only be functional in very limited situations (ie: all docs must use the same update chain, single node indexes only -- no distributed search / solr cloud) a better question is: why? what do you wnat to do with a field like this? https://people.apache.org/~hossman/#xyproblem XY Problem Your question appears to be an "XY Problem" ... that is: you are dealing with "X", you are assuming "Y" will help you, and you are asking about "Y" without giving more details about the "X" so that we can understand the full issue. Perhaps the best solution doesn't involve "Y" at all? See Also: http://www.perlmonks.org/index.pl?node_id=542341 -Hoss