[
https://issues.apache.org/jira/browse/LUCENE-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-3977:
--------------------------------
Attachment: LUCENE-3977.patch
here's a prototype (not ready for committing yet!)
.zip binary release is reduced 12MB again:
-rw-rw-r-- 1 rmuir rmuir 56883313 2012-04-20 09:53 lucene-4.0.0.zip
.tgz (for reference):
-rw-rw-r-- 1 rmuir rmuir 47958933 2012-04-20 09:53 lucene-4.0.0.tgz
basically all i did here is the core/ dependency: but i can easily fix the
others, and then solr.
the idea is to remove javadocs-all, instead when you are in queries/ javadocs
and click IndexReader it jumps you to core/.
solr would keep its 'define-javadoc-url' stuff, except instead of it pointing
to whatever/whatever/api/all/ it would just point to whatever/whatever/api and
be used as the prefix.
> generated/duplicated javadocs are wasteful and bloat the release
> ----------------------------------------------------------------
>
> Key: LUCENE-3977
> URL: https://issues.apache.org/jira/browse/LUCENE-3977
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/javadocs
> Reporter: Robert Muir
> Priority: Blocker
> Fix For: 4.0
>
> Attachments: LUCENE-3977-triplication.patch, LUCENE-3977.patch
>
>
> Some stats for the generated javadocs of 3.6:
> * 9,146 files
> * 161,872 KB uncompressed
> * 25MB compressed (this is responsible for nearly half of our binary release)
> The fact we intentionally double our javadocs size with the 'javadocs-all'
> thing
> is truly wasteful and compression doesn't help at all. Just testing, i nuked
> 'all'
> and found:
> * 4,944 files
> * 81,084 KB uncompressed
> * 12.8MB compressed
> We need to clean this up for 4.0. We only need to ship javadocs 'one way'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.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]