lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7086) SlowCompositeReaderWrapper does not support point values
Date Fri, 25 Mar 2016 23:51:25 GMT


Michael McCandless commented on LUCENE-7086:

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

I think doing it lazily is dangerous: you present an inconsistent reader to Lucene which claims
to have point values (via its {{getFieldInfos}}), but then throws an exception when you ask
for them.  This was causing problems in my original patch ... it was discusses above.

I think it's better to filter the incoming readers to hide any fields that have point values
from the {{FieldInfos}}?

> SlowCompositeReaderWrapper does not support point values
> --------------------------------------------------------
>                 Key: LUCENE-7086
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message