[ 
https://issues.apache.org/jira/browse/LUCENE-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465214
 ] 

Michael McCandless commented on LUCENE-756:
-------------------------------------------

> No hard rule on this, but IMO that may be a small enough window that 
> compatibility is not needed.

This is a good question.  I had flip/flop'd on it.  It would be nice
to not have to support reading indices that were written to based on
the past 10 days of Lucene trunk builds.  Then we could greatly
simplify the "SegmentInfo.getHasMergedNorms" to not create then
destroy the CompoundFileReader.

Any objections to this?

If not I will re-work the patch (it makes things a fair bit cleaner).

> Maintain norms in a single file .nrm
> ------------------------------------
>
>                 Key: LUCENE-756
>                 URL: https://issues.apache.org/jira/browse/LUCENE-756
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Doron Cohen
>         Assigned To: Doron Cohen
>            Priority: Minor
>         Attachments: index.premergednorms.cfs.zip, 
> index.premergednorms.nocfs.zip, LUCENE-756-Jan16.patch, nrm.patch.2.txt, 
> nrm.patch.3.txt, nrm.patch.txt
>
>
> Non-compound indexes are ~10% faster at indexing, and perform 50% IO activity 
> comparing to compound indexes. But their file descriptors foot print is much 
> higher. 
> By maintaining all field norms in a single .nrm file, we can bound the number 
> of files used by non compound indexes, and possibly allow more applications 
> to use this format.
> More details on the motivation for this in: 
> http://www.nabble.com/potential-indexing-perormance-improvement-for-compound-index---cut-IO---have-more-files-though-tf2826909.html
>  (in particular 
> http://www.nabble.com/Re%3A-potential-indexing-perormance-improvement-for-compound-index---cut-IO---have-more-files-though-p7910403.html).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to