You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/11/23 18:09:28 UTC

DO NOT REPLY [Bug 32228] - [PATCH] SegmentReader does unnecessary checks for existence of files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32228>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32228


goller@detego-software.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




------- Additional Comments From goller@detego-software.de  2004-11-23 18:09 -------
Unfotunately, it is necessary to look for rewritten norm-files. If a segment
uses a compound file and its norms are changed by setNorm, the new norm-values
cannot be included into the compound file. You cannot write to a compound file
after it has been generated. The new norm-values end up in separate
files and do not get into the compound file before the next merge.

IndexReader allows to rewrite norms. As far as I remember this is needed
by Nutch to adapt scores to additional information from the link database.
That's what Doug explained to me some time ago.

I currently don't see an easy way to get rid of the described inefficiency.
Definitely, the patch cannot be applied.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org