All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.jsp.search.config.parser.fullConfig.json Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

The newest version!
{
    "core" : "Test Core",
    "index" : "Test Index",
    "searchforemptyquery" : false,
    "ignorequery" : true,
    "ignoreReleaseDate" : true,
    "ignoreExpirationDate" : true,
    "querymodifier" : "content_en:%(query) OR content_de:%(query) OR spell:%(query) OR Title_prop:%(query)",
    "queryparam" : "querytest",
    "lastqueryparam" : "lastquerytest",
    "escapequerychars" : true,
    "reloadedparam" : "reloadedparam",
    "extrasolrparams" : "fq=type:plain",
    "maxReturnedResults" : 345,
    "additionalrequestparams" : [
        { "param" : "p1", "solrquery" : "fq=lastmodified:[%(value) TO *]" },
        { "param" : "p2", "solrquery" : "fq=%(value)" },
        { "param" : "p3" }
    ],
    "pageparam" : "pageparam",
    "pagesize" : 20,
    "pagenavlength" : 9,
    "sortby" : "sortparam",
    "defaultSortOption" : "sort2",
    "sortoptions" : [
        {"solrvalue" : "lastmodified desc" },
        {"label" : "lastmodified ascending", "paramvalue" : "sort2", "solrvalue" : "lastmodified asc" }
    ],
    "fieldfacets" : [
        { "field" : "category_exact", "name" : "category", "label" : "Categories", "mincount" : 1, "limit" : 6, "prefix" : "location/", "order" : "index", "filterquerymodifier" : "nonsense - %(value)", "isAndFacet" : "true", "preselection" : [ "location/europe/", "topic/" ] , "ignoreAllFacetFilters" : true, "excludeTags" : ["oneKey", "anotherKey"] },
        { "field" : "Keywords" }
    ],
    "rangefacets" : [
        { "range" : "lastmodified", "name" : "modification", "label" : "Date lastmodified", "start" : "NOW/MONTH-20MONTHS", "end" : "NOW/MONTH", "gap" : "+1MONTHS", "other" : ["before", "after", "between", "all", "none"], "hardend" : false, "mincount" : 1, "isAndFacet" : true, "preselection" : [ "2015-01-01T00:00:00Z", "2016-01-01T00:00:00Z"  ], "ignoreAllFacetFilters" : true, "excludeTags" : ["oneKey", "anotherKey"], "method" : "dv" },
        { "range" : "size", "start" : "0", "end" : "1000000", "gap" : "1000" }
    ],
    "queryfacet" : {
        "queryitems" : [
                { "query" : "created:[* TO NOW-1YEARS]", "label" : "older than one year" },
                { "query" : "created:[* TO NOW-1MONTHS]", "label" : "older than one month" },
                { "query" : "created:[NOW-1MONTH TO NOW]" }
            ],
        "label" : "Creation date",
        "isAndFacet" : true,
        "preselection" : [ "created:[NOW-1MONTH TO NOW]", "created:[* TO NOW-1MONTHS]" ],
        "ignoreAllFacetFilters" : true,
        "excludeTags" : ["oneKey", "anotherKey"]
    },
    "highlighter" : {
        "field" : "content_en",
        "snippets" : 2,
        "fragsize" : 123,
        "alternateField" : "content",
        "maxAlternateFieldLength" : 124,
        "simple.pre" : "",
        "simple.post" : "",
        "formatter" : "simple",
        "fragmenter" : "gap",
        "useFastVectorHighlighting" : true
    },
    "didYouMean" : {
        "didYouMeanQueryParam" : "dymparam",
        "didYouMeanCollate" : false,
        "didYouMeanCount" : 7
    },
    "geofilter" : {
        "coordinates" : "0.000000,0.000000",
        "coordinatesParam" : "coordinates",
        "fieldName" : "geocoords_loc",
        "radius" : 1.23456,
        "radiusParam" : "radius",
        "units" : "km",
        "unitsParam" : "units"
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy