r 8335 change for index update
This commit is contained in:
parent
d94b6b5186
commit
e41f90a653
1 changed files with 3 additions and 2 deletions
|
@ -231,8 +231,9 @@ public class IndividualToSolrDocument {
|
||||||
|
|
||||||
|
|
||||||
//time of index in millis past epoc
|
//time of index in millis past epoc
|
||||||
Object anon[] = { new Long((new DateTime() ).getMillis()) };
|
// Object anon[] = { new Long((new DateTime() ).getMillis()) };
|
||||||
doc.addField(term.INDEXEDTIME, String.format("%019d", anon));
|
// doc.addField(term.INDEXEDTIME, String.format("%019d", anon));
|
||||||
|
doc.addField(term.INDEXEDTIME,(new DateTime()).getMillis());
|
||||||
|
|
||||||
log.debug("time to include thumbnail and indexedtime in the index: " + Long.toString(System.currentTimeMillis() - tMoniker));
|
log.debug("time to include thumbnail and indexedtime in the index: " + Long.toString(System.currentTimeMillis() - tMoniker));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue