David Smiley created SOLR-14487:
-----------------------------------
Summary: collapse parser treats a zero field value as non-existent
Key: SOLR-14487
URL: https://issues.apache.org/jira/browse/SOLR-14487
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: David Smiley
When collapsing on an integer field (maybe others too?), a zero value is
considered the same as the document having no value.
I found this when trying to write a test
[solr/core/src/test/org/apache/solr/search/TestCollapseQParserPlugin.java|https://github.com/apache/lucene-solr/pull/1517/files#diff-641a4dc7b08b4730c071153e28ad9d62]
method "testMinExactHitsDisabledByCollapse" but was able to work around it
using nullPolicy=expand. It's clearly not a general fix but only helped for
that particular query/circumstance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]