If you sort on a field with 80.6 mio unique values, ES will load these
values into RAM and sort on them.

"packedint" feature of Lucene is not important here, they are designed for
high frequency terms
http://blog.mikemccandless.com/2012/08/lucenes-new-blockpostingsformat-thanks.html

Jörg

On Sat, Sep 27, 2014 at 4:34 AM, Anantha Govindarajan <
[email protected]> wrote:

> Hi Jörg,                                                 We are dealing
> with logs . If user debugs his code through logs I need apply sorting on
> HHmmssSSS field . yyyyMMdd & HHmmssSSS both are int fields.  How costly
> applying sort on HHmmssSSS (80.6 million unique values) field? I am curious
> to know whether lucene's packetInt plays a role here ? Or number of unique
> values * 4 bytes ?
>
>>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAEX_wjryy3Ne1CDC20pWKUQaKUK%3Dz679BdyRyyo5EmOMmfsoHg%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAEX_wjryy3Ne1CDC20pWKUQaKUK%3Dz679BdyRyyo5EmOMmfsoHg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFHjaPgKbEnuEfCSe4iZP_-ixjC6w0V%2BgZycjNdQ9yMqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to