Re: Ability to sort integer fields on large index

2008-04-04 Thread Mark Miller
You should use DateTools to break up your time stamp into multiple fields. This can work a lot faster than using a field with so many different terms. Are you using a RangeQuery? If you are, ditch it and use a ConstantScoreRangeQuery. The former will expand the query to a boolean that contains eac

Ability to sort integer fields on large index

2008-04-04 Thread Fleming Shi
Here is the problem: - Single Large index with upto 200 million documents - Each document contains field using epoch timestamp format (padding is required when creating range requests) - One of the frequently used search query, a range request on the timestamp field (10 digits) - Other searc