(Sorry - fumble finger sent too soon.)
My confusion stems from the fact that in my test I insert a number of documents, and then retrieve them ordered by timestamp, and they don't come back in the same order they were inserted (the order seems random), unless I commit after each insert. Is that expected? I could create my own timestamp values easily enough, but would just as soon not do so if I could use a pre-existing feature that seems tailor-made. -Mike > -----Original Message----- > From: Michael Sokolov [mailto:soko...@ifactory.com] > Sent: Thursday, October 28, 2010 9:55 PM > To: 'solr-user@lucene.apache.org' > Subject: Ensuring stable timestamp ordering > > I'm curious what if any guarantees there are regarding the > "timestamp" field that's defined in the sample solr > schema.xml. Just for completeness, the definition is: > <!-- Uncommenting the following will create a "timestamp" field using a default value of "NOW" to indicate when each document was indexed. --> <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>