Thanks Eric and Ian!
Yes, time stamp is one of our sort fields. By splitting it into year/month/day/... it'll reduce the memory usage dramatically. But I don't know if we can specify the significance of the sort fields, like year first, followed by month, day ... etc. Another thing is about unique. I thought it was unique "field value". If it means unique term, for English even loading all around 300,000 terms it won't take much memory, right? (Suppose the average length of term is 10, the total memory usage is 10*300,000=3MB) Thanks again, this helps a lot! -Fujian -- View this message in context: http://lucene.472066.n3.nabble.com/is-this-the-right-way-to-go-tp883464p884302.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org