Skip to content

Commit 1b68254

Browse files
committed
add comment about change
1 parent 1a2fe25 commit 1b68254

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/transform.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ var findfield = function(f, flist) {
1111
var x = function(doc, schema) {
1212
for(var i in doc) {
1313
var v = doc[i];
14+
/*
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+
*/
1420
// i = i.replace(/\W/g,"_");
1521
var f = findfield(i, schema.fields);
1622
if (f) {

0 commit comments

Comments
 (0)