HI,
You can convert time stamp to long by writing a custom transformer. But how
will it help for OutOfMemory error.Because any sorting will use lucene field
cache which will take a lot of memory as you have huge data.
If you can then buy more RAM for your server.
-
Thanx:
Grijesh
www.gettinh
SOLR : 1.4.1
There are 1,300,000+ documents in the index. Sorting on a date field with
timestamp leads to OutOfMemoryError. So, we are looking for a way to copy
the timestamp as a long value to a field and sort based on that field. Can
any one help me on how to convert the timestamp to a long value