Merge pull request #715 from Stepanov-Sergey/master

add Archive format: zip,7z,bz,bz2,tar
This commit is contained in:
Shinsuke Sugaya 2016-09-29 18:04:00 +09:00 committed by GitHub
commit 27d18d9087
7 changed files with 76 additions and 0 deletions

View file

@ -746,6 +746,22 @@ public class FessLabels extends UserMessages {
/** The key of the message: Compiled HTML Help */
public static final String LABELS_facet_filetype_chm = "{labels.facet_filetype_chm}";
/** The key of the message: Zip Archive */
public static final String LABELS_facet_filetype_zip = "{labels.facet_filetype_zip}";
/** The key of the message: 7-Zip Archive */
public static final String LABELS_facet_filetype_7z = "{labels.facet_filetype_7z}";
/** The key of the message: Bzip Archive */
public static final String LABELS_facet_filetype_bz = "{labels.facet_filetype_bz}";
/** The key of the message: Bzip2 Archive */
public static final String LABELS_facet_filetype_bz2 = "{labels.facet_filetype_bz2}";
/** The key of the message: Tar Archive */
public static final String LABELS_facet_filetype_tar = "{labels.facet_filetype_tar}";
/** The key of the message: Others */
public static final String LABELS_facet_filetype_others = "{labels.facet_filetype_others}";

View file

@ -185,6 +185,26 @@
<arg>"labels.facet_filetype_chm"</arg>
<arg>"filetype:chm"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_zip"</arg>
<arg>"filetype:zip"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_7z"</arg>
<arg>"filetype:7z"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_bz"</arg>
<arg>"filetype:bz"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_bz2"</arg>
<arg>"filetype:bz2"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_tar"</arg>
<arg>"filetype:tar"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_others"</arg>
<arg>"filetype:others"</arg>

View file

@ -239,6 +239,11 @@ labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain Text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Compiled HTML Help
labels.facet_filetype_zip=ZIP Archive
labels.facet_filetype_7z=7z Archive
labels.facet_filetype_bz=Bz Archive
labels.facet_filetype_bz2=Bz2 Archive
labels.facet_filetype_tar=TAR Archive
labels.facet_filetype_others=Others
labels.facet_label_reset=Reset
labels.searchoptions_all=All

View file

@ -239,6 +239,11 @@ labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain Text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Compiled HTML Help
labels.facet_filetype_zip=ZIP Archive
labels.facet_filetype_7z=7z Archive
labels.facet_filetype_bz=Bz Archive
labels.facet_filetype_bz2=Bz2 Archive
labels.facet_filetype_tar=TAR Archive
labels.facet_filetype_others=Others
labels.facet_label_reset=Reset
labels.searchoptions_all=All

View file

@ -231,6 +231,11 @@ labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain Text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Compiled HTML Help
labels.facet_filetype_zip=ZIP Archive
labels.facet_filetype_7z=7z Archive
labels.facet_filetype_bz=Bz Archive
labels.facet_filetype_bz2=Bz2 Archive
labels.facet_filetype_tar=TAR Archive
labels.facet_filetype_others = \uae30\ud0c0
labels.facet_label_reset = \uc7ac\uc124\uc815
labels.searchoptions_all = \ubaa8\ub4e0

View file

@ -237,6 +237,11 @@ labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain Text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Compiled HTML Help
labels.facet_filetype_zip=ZIP Архив
labels.facet_filetype_7z=7z Архив
labels.facet_filetype_bz=Bz Архив
labels.facet_filetype_bz2=Bz2 Архив
labels.facet_filetype_tar=TAR Архив
labels.facet_filetype_others=Другие
labels.facet_label_reset=Сброс
labels.searchoptions_all=Все

View file

@ -117,6 +117,26 @@
<arg>"application/vnd.ms-htmlhelp"</arg>
<arg>"chm"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/zip"</arg>
<arg>"zip"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/x-7z-comressed"</arg>
<arg>"7z"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/x-bzip"</arg>
<arg>"bz"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/x-bzip2"</arg>
<arg>"bz2"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/x-tar"</arg>
<arg>"tar"</arg>
</postConstruct>
</component>
<component name="fessCrawler" class="org.codelibs.fess.exec.Crawler"
instance="prototype">