VadimKirilchuk opened a new pull request, #4509:
URL: https://github.com/apache/solr/pull/4509

   https://issues.apache.org/jira/browse/SOLR-18251
   
   # Description
   
   Introduced docValuesSkipList='true' field property to allow creating 
DocValues Field instances with optional skip list index support, improving 
query performance.
   
   # Solution
   
   Added a new boolean field property docValuesSkipList that can be set to true 
in schema field definitions (only fields supporting Numeric, Sorted Numeric, 
Sorted and Sorted Set doc value types). When enabled, Solr creates DocValues 
fields with an additional skip index, which enables more efficient range 
queries on DocValues. When not set (default false), standard DocValues fields 
are created without the skip index.
   
   Changes include:
   
   - New utility class DocValuesFieldUtil with methods to create DocValues 
fields with or without skip indexes (createSortedDocValuesField, 
createSortedSetDocValuesField, createNumericDocValuesField, 
createSortedNumericDocValuesField)
   - Updated all DocValues-enabled field types (BoolField, CollationField, 
EnumFieldType, PointField, StrField, TrieField, SortableTextField, 
ICUCollationField) to respect the new property when creating DocValues fields
   - Extended SchemaField and FieldProperties to expose the property in schema 
configuration
   
   # Tests
   
   - Added REST API validation via TestFieldResource
   - Comprehensive test suite DocValuesSkipListTest covering all DocValues 
field types (single and multi-valued)
   - Test schema schema-docValuesSkipList.xml with full coverage of all 
DocValues types
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [X] I have reviewed the guidelines for [How to 
Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my 
code conforms to the standards described there to the best of my ability.
   - [ ] I have created a Jira issue and added the issue ID to my pull request 
title.
   - [X] I have given Solr maintainers 
[access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
 to contribute to my PR branch. (optional but recommended, not available for 
branches on forks living under an organisation)
   - [X] I have developed this patch against the `main` branch.
   - [X] I have run `./gradlew check`.
   - [X] I have added tests for my changes.
   - [ ] I have added documentation for the [Reference 
Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
   - [ ] I have added a [changelog 
entry](https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc) for my 
change
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to