James Kennedy wrote:
True. However, in the case where you are processing Documents one at a time and discarding them (e.g. We use hitCollector to process all documents from
a search), or memory is not an issue, it would be nice to have the ability
to disable the interning for performance sake.

Accessing documents from a hit-collector is not advised. It is generally best to compose queries and filters to reduce the number of matches. When that's not feasible, a hit collector that uses a FieldCache to filter by or collect field values is much faster than accessing documents.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to