fix #1404 register facetInfo

This commit is contained in:
Shinsuke Sugaya 2017-12-29 10:16:35 +09:00
parent 01d2e218e3
commit 525080f43a

View file

@ -37,68 +37,68 @@
<property name="allowLeadingWildcard">true</property>
<property name="defaultOperator">org.apache.lucene.queryparser.classic.QueryParser$Operator.AND</property>
</component>
<component name="queryHelper" class="org.codelibs.fess.helper.QueryHelper">
<property name="defaultFacetInfo">
<component class="org.codelibs.fess.entity.FacetInfo">
<property name="size">100</property>
<property name="minDocCount">1</property>
<property name="field">["label"]</property>
<property name="query">[
"timestamp:[now/d-1d TO *]",
"timestamp:[now/d-7d TO *]",
"timestamp:[now/d-1M TO *]",
"timestamp:[now/d-1y TO *]",
"content_length:[0 TO 9999]",
"content_length:[10000 TO 99999]",
"content_length:[100000 TO 499999]",
"content_length:[500000 TO 999999]",
"content_length:[1000000 TO *]",
"filetype:html",
"filetype:word",
"filetype:excel",
"filetype:powerpoint",
"filetype:odt",
"filetype:ods",
"filetype:odp",
"filetype:pdf",
"filetype:fb2",
"filetype:epub",
"filetype:ibooks",
"filetype:txt",
"filetype:rtf",
"filetype:chm",
"filetype:zip",
"filetype:7z",
"filetype:bz",
"filetype:bz2",
"filetype:tar",
"filetype:rar",
"filetype:3gp",
"filetype:3g2",
"filetype:avi",
"filetype:flv",
"filetype:mpeg",
"filetype:mp4",
"filetype:ogv",
"filetype:qt",
"filetype:m4v",
"filetype:aif",
"filetype:mid",
"filetype:mpga",
"filetype:mp4a",
"filetype:oga",
"filetype:ogg",
"filetype:wav",
"filetype:webp",
"filetype:bmp",
"filetype:ico",
"filetype:png",
"filetype:svg",
"filetype:tiff",
"filetype:others"
]</property>
</component>
<component name="facetInfo" class="org.codelibs.fess.entity.FacetInfo">
<property name="size">100</property>
<property name="minDocCount">1</property>
<property name="field">["label"]</property>
<property name="query">[
"timestamp:[now/d-1d TO *]",
"timestamp:[now/d-7d TO *]",
"timestamp:[now/d-1M TO *]",
"timestamp:[now/d-1y TO *]",
"content_length:[0 TO 9999]",
"content_length:[10000 TO 99999]",
"content_length:[100000 TO 499999]",
"content_length:[500000 TO 999999]",
"content_length:[1000000 TO *]",
"filetype:html",
"filetype:word",
"filetype:excel",
"filetype:powerpoint",
"filetype:odt",
"filetype:ods",
"filetype:odp",
"filetype:pdf",
"filetype:fb2",
"filetype:epub",
"filetype:ibooks",
"filetype:txt",
"filetype:rtf",
"filetype:chm",
"filetype:zip",
"filetype:7z",
"filetype:bz",
"filetype:bz2",
"filetype:tar",
"filetype:rar",
"filetype:3gp",
"filetype:3g2",
"filetype:avi",
"filetype:flv",
"filetype:mpeg",
"filetype:mp4",
"filetype:ogv",
"filetype:qt",
"filetype:m4v",
"filetype:aif",
"filetype:mid",
"filetype:mpga",
"filetype:mp4a",
"filetype:oga",
"filetype:ogg",
"filetype:wav",
"filetype:webp",
"filetype:bmp",
"filetype:ico",
"filetype:png",
"filetype:svg",
"filetype:tiff",
"filetype:others"
]
</property>
</component>
<component name="queryHelper" class="org.codelibs.fess.helper.QueryHelper">
<property name="defaultFacetInfo">facetInfo</property>
<postConstruct name="addHighlightField">
<arg>"title"</arg>
</postConstruct>