Bug 93729 - [Help] Add 'index_complete' file for fragments that translate all documents
Summary: [Help] Add 'index_complete' file for fragments that translate all documents
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-05-04 17:48 EDT by Dejan Glozic CLA
Modified: 2009-04-09 18:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2005-05-04 17:48:23 EDT
existence of a an empty file "indexed_complete" in the index directory would 
suffice.

The complete index idea adds to the complexity of the build index action, the 
impact on help system is small (if file exist, do less work).

If we implment this, we have two options:
a) when most documents are translated, mark it as complete, and remaining 
documents will be indexed at runtime.  The magic number when to mark index as 
complete would be about 98% for maximized performance.
b) when creating nl index, add all NL files from nl directory, but also add 
English for the missing documents.  No documents would be parsed at runtime 
and the magic number for the tool could be much lower for example 80%.  The 
only cost would be little bit of wasted installation size as two indexes, 
english end nl would contain some of the same English files.
Comment 1 Konrad Kolosowski CLA 2005-05-26 15:24:46 EDT
Given default index is usually created with a different analyzer then index 
for tranlated docs in the fragment, we may want to reconsider what documents 
are included in prebuilt index in the fragment.
More investigation needed, not for RC1.
Comment 2 Chris Goldthorpe CLA 2009-04-09 18:25:35 EDT
Closing since we are not planning on doing this.