app/js/services.js
Function fullTextSearch
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
'fullTextSearch': function (from, size, text) {
return es.search({
index: 'musicalbum',
type: 'album',
body: {
Function autocomplete
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
'autocomplete': function (text) {
return es.search({
index: 'musicalbum',
type: 'album',
body: {