You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schemas/json/hugo.json
+57-1Lines changed: 57 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2663,12 +2663,31 @@
2663
2663
"includeNewer": false,
2664
2664
"indices": [
2665
2665
{
2666
+
"applyFilter": false,
2667
+
"cardinalityThreshold": 0,
2666
2668
"name": "keywords",
2669
+
"pattern": "",
2670
+
"toLower": false,
2671
+
"type": "basic",
2667
2672
"weight": 100
2668
2673
},
2669
2674
{
2675
+
"applyFilter": false,
2676
+
"cardinalityThreshold": 0,
2670
2677
"name": "date",
2678
+
"pattern": "",
2679
+
"toLower": false,
2680
+
"type": "basic",
2671
2681
"weight": 10
2682
+
},
2683
+
{
2684
+
"applyFilter": false,
2685
+
"cardinalityThreshold": 0,
2686
+
"name": "tags",
2687
+
"pattern": "",
2688
+
"toLower": false,
2689
+
"type": "basic",
2690
+
"weight": 80
2672
2691
}
2673
2692
],
2674
2693
"threshold": 80,
@@ -2701,12 +2720,31 @@
2701
2720
"type": "array",
2702
2721
"default": [
2703
2722
{
2723
+
"applyFilter": false,
2724
+
"cardinalityThreshold": 0,
2704
2725
"name": "keywords",
2726
+
"pattern": "",
2727
+
"toLower": false,
2728
+
"type": "basic",
2705
2729
"weight": 100
2706
2730
},
2707
2731
{
2732
+
"applyFilter": false,
2733
+
"cardinalityThreshold": 0,
2708
2734
"name": "date",
2735
+
"pattern": "",
2736
+
"toLower": false,
2737
+
"type": "basic",
2709
2738
"weight": 10
2739
+
},
2740
+
{
2741
+
"applyFilter": false,
2742
+
"cardinalityThreshold": 0,
2743
+
"name": "tags",
2744
+
"pattern": "",
2745
+
"toLower": false,
2746
+
"type": "basic",
2747
+
"weight": 80
2710
2748
}
2711
2749
],
2712
2750
"items": {
@@ -2717,9 +2755,27 @@
2717
2755
"type": "string",
2718
2756
"minLength": 1
2719
2757
},
2758
+
"type": {
2759
+
"description": "The index type\nhttps://gohugo.io/content-management/related/#config-options-per-index",
2760
+
"type": "string",
2761
+
"default": "basic",
2762
+
"enum": ["basic", "fragments"]
2763
+
},
2764
+
"applyFilter": {
2765
+
"description": "Apply a type specific filter to the result of a search. This is currently only used for the fragments type\nhttps://gohugo.io/content-management/related/#config-options-per-index",
2766
+
"type": "boolean",
2767
+
"default": false
2768
+
},
2720
2769
"weight": {
2721
2770
"description": "The weight indicating how important this parameter is relative to the other parameters\nhttps://gohugo.io/content-management/related/#config-options-per-index",
2722
-
"type": "string"
2771
+
"type": "integer"
2772
+
},
2773
+
"cardinalityThreshold": {
2774
+
"description": "A percentage (0-100) used to remove common keywords from the index\nhttps://gohugo.io/content-management/related/#config-options-per-index",
2775
+
"type": "integer",
2776
+
"default": 0,
2777
+
"minimum": 0,
2778
+
"maximum": 100
2723
2779
},
2724
2780
"pattern": {
2725
2781
"description": "The date format\nhttps://gohugo.io/content-management/related/#config-options-per-index",
0 commit comments