ercsonusharma commented on code in PR #4645: URL: https://github.com/apache/solr/pull/4645#discussion_r3630799395
########## solr/core/src/test-files/solr/collection1/conf/schema-numericrange.xml: ########## @@ -105,6 +105,24 @@ <!-- 4D DoubleRangeField (tesseract) --> <field name="double_range_4d" type="doublerange4d" indexed="true" stored="true"/> + <!-- docValues-enabled variants (single-valued) exercising the IndexOrDocValuesQuery optimization --> + <field name="price_range_dv" type="intrange" indexed="true" stored="true" docValues="true"/> + <field name="bbox_dv" type="intrange2d" indexed="true" stored="true" docValues="true"/> + <field name="long_range_dv" type="longrange" indexed="true" stored="true" docValues="true"/> + <field name="float_range_dv" type="floatrange" indexed="true" stored="true" docValues="true"/> + <field name="double_range_dv" type="doublerange" indexed="true" stored="true" docValues="true"/> + + <!-- docValues-only (not indexed) intrange, exercising the DV-only query path --> + <field name="price_range_dvonly" type="intrange" indexed="false" stored="false" docValues="true"/> + + <!-- multiValued docValues variants (SortedSet-backed): exercise multiple ranges per document --> Review Comment: ah. these are outdated doc (at a few more places) which I earlier tried with SortedSet which was left unnoticed. I have corrected it now. -- 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]
