rmuir commented on PR #12139: URL: https://github.com/apache/lucene/pull/12139#issuecomment-1427029208
> I imagine that we could have an `IndexableField#invertableValue()` method or something like that that would return a similar object as `StoredValue` that could hold either a `BytesRef` or a `TokenStream`. This sounds better to me than type-guessing and null values. Then my complaint goes away. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org