lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7086) SlowCompositeReaderWrapper does not support point values
Date Fri, 25 Mar 2016 19:56:25 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212318#comment-15212318
] 

Yonik Seeley commented on LUCENE-7086:
--------------------------------------

This patch is really unfriendly since it throws an exception if you have Point fields in your
index, even if you don't use them through this wrapper!
Since pretty much every index will have Point fields from now on, this means that SlowCompositeReaderWrapper
will pretty much never work alone.

Seems like it would be nicer to throw an exception when asking for a merged Point field instead?

> SlowCompositeReaderWrapper does not support point values
> --------------------------------------------------------
>
>                 Key: LUCENE-7086
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7086
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Michael McCandless
>             Fix For: master, 6.0
>
>         Attachments: LUCENE-7086.patch, LUCENE-7086.patch
>
>
> SlowCompositeReaderWrapper.getPointValues always returns null. I think this is trappy
and we should either implement it or throw an UnsupportedOperationException instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message