jpountz commented on PR #12139:
URL: https://github.com/apache/lucene/pull/12139#issuecomment-1425891753

   You make a good point about adding more type guessing. Ideally 
`IndexableField` would have its APIs designed around how `IndexingChain` 
consumes it.
   
   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 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

Reply via email to