[
https://issues.apache.org/jira/browse/SOLR-10708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson updated SOLR-10708:
----------------------------------
Attachment: (was: SOLR-10708-test-fail.patch)
> Cannot find certain long values when docValues=true,indexed=false
> -----------------------------------------------------------------
>
> Key: SOLR-10708
> URL: https://issues.apache.org/jira/browse/SOLR-10708
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 6.7
> Reporter: Erick Erickson
>
> I define a field like this:
> <field indexed="false" name="facet_d" stored="false" type="tlong"
> docValues="true"/>
> When I index these with a program assigning random longs to the fields
> searching on facet_d fails to find some values, but _only_ when there are
> multiple documents. For instance, the value "6850281131226296000" was in this
> field, but searching on facet_d:6850281131226296000 does not find the
> document.
> Searching on facet_d:[6850281131226290000 TO 6850281131226297000] works if
> the range is "wide enough", but I don't have a good sense of how wide that
> is. Note that the values in that clause are not identical!
> NOTE: this problem does _not_ occur if there's only one document in the
> corpus. I'll try to make a failing test.
> [~jpountz] suggested that I look at the actual indexed values, but since the
> document is found in the single-doc case I'll assume that the stored
> compatibly between the index and query at least.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]