: Yes, the current JIRA patch uses the FieldCache.

I just ment in contrast with Mike's comment about iterating over all the
stored fields to support the "post-faceting" situation (but frankly i'm
not sure that i undersatnd what the "post-faceting" situation is, so feel
free to ignore me)

: >... wouldn't iterating over each doc, and using the
: > FieldCache+TermDocs make it very efficient to find all the docs that have
: > the same indexed value as the current one?
:
: The most efficient way will heavily depend on the nature of the
: collapse field (few terms or many).  I can't currently think of a way
: to do it efficiently for both.

this sounds a lot like the faceting problem (to term enum or notto term
enum) and the discussion about building a "facet field cache" at server
startup if we know faceting is important on certain fields ... by default
we can do our best, but with added configuration hints telling us what you
expect, we can make more informed guesses.


-Hoss

Reply via email to