You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2017/03/17 18:31:41 UTC
[jira] [Commented] (SOLR-10237) Poly-Fields should work with
subfield that have docValues=true
[ https://issues.apache.org/jira/browse/SOLR-10237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930437#comment-15930437 ]
David Smiley commented on SOLR-10237:
-------------------------------------
You mentioned in an email recently:
bq. This is specially tricky since the users will get results, but will sometimes be incorrect
So I'm curious how you discovered the problem here and how, without it, results may be inconsistent.
BTW commit away when you feel it's ready.
> Poly-Fields should work with subfield that have docValues=true
> --------------------------------------------------------------
>
> Key: SOLR-10237
> URL: https://issues.apache.org/jira/browse/SOLR-10237
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Tomás Fernández Löbbe
> Attachments: SOLR-10237.patch, SOLR-10237.patch, SOLR-10237.patch
>
>
> DocValues aren’t really supported in poly-fields at this point, but they don’t complain if the schema definition of the subfield has docValues=true. This leaves the index in an inconsistent state, since the SchemaField has docValues=true but there are no DV for the field.
> Since this breaks compatibility, I think we should just emit a warning unless the subfield is an instance of {{PointField}}. With {{\[Int/Long/Float/Double/Date\]PointField}} subfields, this is particularly important, since they use {{IndexOrDocValuesQuery}}, that would return incorrect results.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org