Skip to content

replace invalid chars in index #40

Open
stevemao wants to merge 1 commit into
AntonBazhal:masterfrom
stevemao:patch-2
Open

replace invalid chars in index #40
stevemao wants to merge 1 commit into
AntonBazhal:masterfrom
stevemao:patch-2

Conversation

@stevemao

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/utils.js Outdated
}

return value;
return value.toLowerCase();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all fields need to be lowercased. I think, indexField needs a separate function that adds logic on top of the getField.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will take a look.

@stevemao stevemao changed the title index only allows lower case replace invalid chars in index Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants