[ 
https://issues.apache.org/jira/browse/SOLR-18251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152106#comment-18152106
 ] 

David Smiley commented on SOLR-18251:
-------------------------------------

Interesting.  Seems like a micro-optimization to me... we're talking about one 
field and we already have BKD -- so are we really benefiting much by *not* 
having the BKD but adding the skip list thing in its place?  It doesn't look 
compelling to me.  And even then, few people do index sorting, making this even 
more niche/expert.

> Add Solr schema support for DocValues skip lists
> ------------------------------------------------
>
>                 Key: SOLR-18251
>                 URL: https://issues.apache.org/jira/browse/SOLR-18251
>             Project: Solr
>          Issue Type: Task
>          Components: Schema and Analysis
>    Affects Versions: 10.1
>            Reporter: Sanjay Dutt
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> Lucene introduced optional skip lists on top of DocValues in 
> apache/lucene#13449. The feature is exposed through the {{DocValuesSkipper}} 
> abstraction and is controlled by a Lucene {{FieldType}} flag.
> Solr currently exposes DocValues through schema configuration, but does not 
> provide a schema-level option to enable this DocValues skip list support.
> This issue proposes adding an opt-in Solr schema option, such as:
> {code:java}
> docValuesSkipList="true"{code}
> Example:
> {code:java}
> <field name="price"
>        type="plong"
>        indexed="false"
>        docValues="true"
>        docValuesSkipList="true" />{code}
> The Lucene PR notes that this can be efficient when the index is sorted and 
> the field belongs to the index sorting. 
> The actual benefit depends on data layout and query pattern, so this should 
> be exposed as an opt-in feature.
> Only compatible DocValues field types should allow this option. Based on the 
> Lucene PR, this applies to DocValues types such as {{{}NUMERIC{}}}, 
> {{{}SORTED_NUMERIC{}}}, {{{}SORTED{}}}, and {{{}SORTED_SET{}}}. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to