Re: block min-max values for Sort Field with Top-N query..

2019-07-02 Thread Ravikumar Govindarajan
Thanks Mikhail & Adrien for the help This is the same principle that we apply for block-max WAND so > theoretically that would work, though in practice it might be a bit > hard to implement due to the fact that we don't have the APIs that you > will need. Aah, did not know block-max WAND is now

Re: find documents with big stored fields

2019-07-02 Thread Andrzej Białecki
What version of Solr? In Solr 8.2 there will be a tool to facilitate this kind of analysis - see SOLR-13512. In the meantime, if you’re on Solr 8.x you should be able to easily back port this change to your version (7x should be possible too, but with more changes). > On 1 Jul 2019, at 11:23, R

Re: block min-max values for Sort Field with Top-N query..

2019-07-02 Thread Adrien Grand
Hello, This is the same principle that we apply for block-max WAND so theoretically that would work, though in practice it might be a bit hard to implement due to the fact that we don't have the APIs that you will need. I have considered the idea of adding information about blocks to doc values a

Re: block min-max values for Sort Field with Top-N query..

2019-07-02 Thread Mikhail Khludnev
Not sure what is the problem, but make sure you are aware of https://lucene.apache.org/solr/guide/7_0/function-queries.html#childfield-field-function . On Tue, Jul 2, 2019 at 4:01 PM Ravikumar Govindarajan < ravikumar.govindara...@gmail.com> wrote: > Our Sort Fields utilize DocValues.. > > Lets s

block min-max values for Sort Field with Top-N query..

2019-07-02 Thread Ravikumar Govindarajan
Our Sort Fields utilize DocValues.. Lets say I collect min-max ords of a Sort Field for a block of documents (128, 256 etc..) at index-time via Codec & store it as part of DocValues at a Segment level.. During query time, could we take advantage of this Stats when Top-N query with Sort Field is r