09-27-2016 10:39 AM
How to display custom facet values of a date filter as date buckets or ranges ?
like this
09-27-2016 10:47 AM
Oddly enough, the exact same question has been covered a few days ago in a blog post by FormTek.
09-27-2016 10:47 AM
Oddly enough, the exact same question has been covered a few days ago in a blog post by FormTek.
09-27-2016 11:58 AM
Thanks for the reply, I applied this solution, and it's worked fine, but when I added multiple filters using search manager, then there is error occurred and there was no result retrieved from the server .
The error caused is the length of the request webscript when to exceed 3200 characters. but when I removed solution Its work Whatever the length of the link (I can't understand the relation between them )
This error appeare in log
Sep 27, 2016 6:56:35 PM org.apache.coyote.http11.AbstractHttp11Processor process
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
09-27-2016 04:09 PM
The Tomcat connector has a default limit for the length of URLs. The more facet filters / values are included in the configuration, the longer the URL gets for the call to SOLR. In order to work around this, the URL length limit needs to be set higher on the Tomcat connector.
09-28-2016 01:52 AM
Mmmmm why when remove date buckets It works fine whatever length of the link?
09-28-2016 03:38 AM
As far as I can remember by default the maximum length of a URL in tomcat is 4096 (4 KB).
If your url did not exceed the limit,you d better check you date facet field configuration,maybe it case request url in wrong format.
09-28-2016 04:01 PM
Hello, I am starting to use aikau and wanted to help you. In this code shown, can include research but can not include the result. I am a beginner and I'm learning all the start. You can see my code?
model.jsonModel = {
services: [
"alfresco/services/NavigationService",
"alfresco/services/LogoutService",
"alfresco/services/DocumentService",
"alfresco/services/SearchService",
"alfresco/layout/HorizontalWidgets",
"alfresco/documentlibrary/AlfSearchList",
],
widgets: [
{
id: "MAIN_VERTICAL_LAYOUT",
name: "alfresco/layout/VerticalWidgets",
config:
{
widgets: [
{
id: "HEADER_BAR",
name: "alfresco/header/Header",
config:
{
widgets: [
{
id: "APP_MENU_BAR",
name: "alfresco/header/AlfMenuBar",
align: "left",
config:
{
widgets: [
{
id: "HOME",
name: "alfresco/menus/AlfMenuBarItem",
config: {
label: "Home",
targetUrl: "ap/ws/home"
}
}
]
}
},
{
id: "USER_MENU_BAR",
name: "alfresco/header/AlfMenuBar",
align: "right",
config: {
widgets: [
{
id: "USER_MENU",
name: "alfresco/header/AlfMenuBarPopup",
config: {
label: "User Menu",
widgets: [
{
id: "HEADER_USER_MENU",
name: "alfresco/menus/AlfMenuGroup",
config: {
widgets: [
{
id: "LOGOUT",
name: "alfresco/header/AlfMenuItem",
config:
{
label: "Logout",
iconClass: "alf-user-logout-icon",
publishTopic: "ALF_DOLOGOUT"
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
id: "HEADER_TITLE_BAR",
name: "alfresco/layout/LeftAndRight",
className: "share-header-title",
config:
{
semanticWrapper: "header",
widgets:
[
{
id: "HEADER_LOGO",
name: "alfresco/logo/Logo",
align: "left",
config:
{
logoClasses: "alfresco-logo-only"
}
},
{
id: "HEADER_TITLE",
name: "alfresco/header/Title",
align: "left",
config: {
label: "Bem vindo ao Processo Verde!",
setBrowserTitle: "Home"
}
}
]
}
},
{
id: "HEADER_SEARCH",
name: "alfresco/header/SearchBox",
align: "right",
config: {
id: "HEADER_SEARCH_BOX",
site: page.url.templateArgs.site,
linkToFacetedSearch: true
}
}
]
}
}
],
//from here it does not work
widgets: [
{
id: "FCTSRCH_SEARCH_RESULTS_AREA",
name: "alfresco/search/AlfSearchResult",
config: {
widgets: [
{
name: "alfresco/documentlibrary/views/layouts/Row",
config: {
widgets: [
{
name: "alfresco/documentlibrary/views/layouts/Cell",
config: {
additionalCssClasses: "mediumpad",
widgets: [
{
name: "alfresco/renderers/SearchResultPropertyLink",
config: {
propertyToRender: "displayName"
}
}
]
}
},
{
name: "alfresco/documentlibrary/views/layouts/Cell",
config: {
additionalCssClasses: "mediumpad",
widgets: [
{
name: "alfresco/renderers/Property",
config: {
propertyToRender: "description"
}
}
]
}
}
]
}
}
]
}
}
]
};
09-29-2016 03:33 AM
It's great that you're starting to use Aikau, but I don't think your suggestion is applicable to the question being asked. This is more of a back-end issue than a front end problem - some of the facets are handled by custom queries and use buckets that are defined in the Spring configuration on the repo (as the blog post that has linked to describes).
04-01-2019 06:35 AM
Axel Faust How can in increase the length of tomcat connector url lenth in alfresco SDK 3.0?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.