We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8199b06 + 0770e1b commit a25e60dCopy full SHA for a25e60d
lib/transform.js
@@ -11,7 +11,13 @@ var findfield = function(f, flist) {
11
var x = function(doc, schema) {
12
for(var i in doc) {
13
var v = doc[i];
14
- i = i.replace(/\W/g,"_");
+ /*
15
+ commenting out the below because schema.fields contain the original
16
+ field names (spaces are not replaces with underscores). facets end
17
+ up not being handled properly when field is an 'arrayofstrings' and
18
+ contains spaces in the title.
19
+ */
20
+ // i = i.replace(/\W/g,"_");
21
var f = findfield(i, schema.fields);
22
if (f) {
23
switch (f.type) {
0 commit comments