You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2020/09/22 15:54:00 UTC
[jira] [Resolved] (SOLR-14859) [* TO *] queries on DateRange fields
miss results
[ https://issues.apache.org/jira/browse/SOLR-14859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gerlowski resolved SOLR-14859.
------------------------------------
Fix Version/s: 8.6.3
8.7
master (9.0)
Resolution: Fixed
I folded in the "nitpicks" from Hoss' last comment, added a bit more testing and committed this to get it out for 9.0, 8.7, and 8.6.3 (if there is one).
Thanks for the help everyone!
> [* TO *] queries on DateRange fields miss results
> -------------------------------------------------
>
> Key: SOLR-14859
> URL: https://issues.apache.org/jira/browse/SOLR-14859
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: query parsers
> Affects Versions: 8.5
> Reporter: Jason Gerlowski
> Assignee: Jason Gerlowski
> Priority: Major
> Fix For: master (9.0), 8.7, 8.6.3
>
> Attachments: SOLR-14859.patch, SOLR-14859.patch, SOLR-14859.patch, SOLR-14859.patch, SOLR-14859.patch, SOLR-14859.patch, query-debug.png, reproduce.sh, schema.png
>
>
> "exists" queries ({{[* TO *]}}) on DateRange fields return 0 results regardless of docs in the index with values in that field.
> The issue appears to be that the query is converted into a {{NormsFieldExistsQuery}}, even though DateRangeField uses omitNorms=true by default. Probably introduced by SOLR-11746's changes to these optimizable range queries.
> I've attached a script to reproduce the issue (tested on Solr 8.6.2) and screenshots showing showing schema and query-parsing info for the reproduction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org