Tonic commited on
Commit
e7bf3ba
·
1 Parent(s): 51f2e7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -49,7 +49,7 @@ Article = {
49
  "vectorizer": "text2vec-contextionary",
50
  "moduleConfig": {
51
  "text2vec-contextionary": {
52
- "vectorizeClassName": true
53
  }
54
  },
55
  "properties": [
@@ -59,12 +59,12 @@ Article = {
59
  "dataType": ["text"],
60
  "moduleConfig": {
61
  "text2vec-contextionary": {
62
- "skip": false,
63
- "vectorizePropertyName": true
64
  }
65
  },
66
- "indexFilterable": true,
67
- "indexSearchable": true
68
  },
69
  {
70
  "name": "content",
@@ -72,26 +72,26 @@ Article = {
72
  "dataType": ["text"],
73
  "moduleConfig": {
74
  "text2vec-contextionary": {
75
- "skip": false,
76
- "vectorizePropertyName": true
77
  }
78
  },
79
- "indexFilterable": true,
80
- "indexSearchable": true
81
  },
82
  {
83
  "name": "author",
84
  "description": "The author of the article",
85
  "dataType": ["text"],
86
- "indexFilterable": true,
87
- "indexSearchable": true
88
  },
89
  {
90
  "name": "publishDate",
91
  "description": "The date the article was published",
92
  "dataType": ["date"],
93
- "indexFilterable": true,
94
- "indexSearchable": true
95
  }
96
  ],
97
  "invertedIndexConfig": {
@@ -100,9 +100,9 @@ Article = {
100
  "additions": [],
101
  "removals": []
102
  },
103
- "indexTimestamps": true,
104
- "indexNullState": true,
105
- "indexPropertyLength": true,
106
  "bm25": {
107
  "b": 0.75,
108
  "k1": 1.2
 
49
  "vectorizer": "text2vec-contextionary",
50
  "moduleConfig": {
51
  "text2vec-contextionary": {
52
+ "vectorizeClassName": True
53
  }
54
  },
55
  "properties": [
 
59
  "dataType": ["text"],
60
  "moduleConfig": {
61
  "text2vec-contextionary": {
62
+ "skip": False,
63
+ "vectorizePropertyName": True
64
  }
65
  },
66
+ "indexFilterable": True,
67
+ "indexSearchable": True
68
  },
69
  {
70
  "name": "content",
 
72
  "dataType": ["text"],
73
  "moduleConfig": {
74
  "text2vec-contextionary": {
75
+ "skip": False,
76
+ "vectorizePropertyName": True
77
  }
78
  },
79
+ "indexFilterable": True,
80
+ "indexSearchable": True
81
  },
82
  {
83
  "name": "author",
84
  "description": "The author of the article",
85
  "dataType": ["text"],
86
+ "indexFilterable": True,
87
+ "indexSearchable": True
88
  },
89
  {
90
  "name": "publishDate",
91
  "description": "The date the article was published",
92
  "dataType": ["date"],
93
+ "indexFilterable": True,
94
+ "indexSearchable": True
95
  }
96
  ],
97
  "invertedIndexConfig": {
 
100
  "additions": [],
101
  "removals": []
102
  },
103
+ "indexTimestamps": True,
104
+ "indexNullState": True,
105
+ "indexPropertyLength": True,
106
  "bm25": {
107
  "b": 0.75,
108
  "k1": 1.2