[email protected]
[Top] [All Lists]

Re: bytecount as String and prefix length

Subject: Re: bytecount as String and prefix length
From: Doug Cutting
Date: Tue, 01 Nov 2005 09:51:29 -0800
Another approach might be to, instead of converting to UTF-8 to strings right away, change things to convert lazily, if at all. During index merging such conversion should never be needed. You needn't do this systematically throughout Lucene, but only where it makes a big difference. For example, if you could avoid strings in SegmentMerger.mergeTermInfos() it might make a huge difference. This might be as simple as changing SegmentMergeInfo to use a TermBuffer instead of a Term. Does that make sense?
Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>