Solr.ts 1.14 KB
Newer Older
1
2
3
4
plugin.tx_solr {
	templateFiles {
		search = EXT:ter_layout/Resources/Private/Ext/Solr/Search.html
		results = EXT:ter_layout/Resources/Private/Ext/Solr/Results.html
5
		pagebrowser = EXT:ter_layout/Resources/Private/Ext/Solr/Pagebrowser.html
6
	}
Thomas Löffler's avatar
Thomas Löffler committed
7
8
9
10
11
12
13
14
  view {
    templateFiles {
      results = EXT:ter_layout/Resources/Private/Templates/Solr/Results.html
    }
    partialRootPaths {
      100 = EXT:ter_layout/Resources/Private/Partials/Solr/
    }
  }
15
	cssFiles.results =
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
}

lib.solr.format_number = TEXT
lib.solr.format_number {
    field = argument_0
    numberFormat = 1
    numberFormat.thousands_sep = ,
}

lib.solr.extensionkeywithdashes = TEXT
lib.solr.extensionkeywithdashes {
    field = argument_0
    replacement {
        10 {
            search = _
            replace = -
        }
    }
}
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

plugin.tx_solr.search.faceting = 1
plugin.tx_solr.search.faceting {

  facets >
  facets {
    keywords {
      label = Keywords
      field = keywords
      # we need the facet to be able to filter by keywords, but we don't want to show it in the filter
      includeInAvailableFacets = 0
      includeInUsedFacets = 0
      includeInUsedFacets = 0
    }
  }

}