Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
solr-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9c873f12
authored
2016-06-22 16:46:48 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
s/util/Util/ when calling mergeStaticProps.
1 parent
f220646e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/scripts/solr/model/Solr.js
src/scripts/solr/model/Solr.js
View file @
9c873f1
...
...
@@ -194,7 +194,7 @@ define(function(require) {
};
},
searchParseDoc
:
function
searchParseDoc
(
doc
,
index
,
itemHighlighting
)
{
var
fieldsToParse
=
u
til
.
mergeStaticProps
(
this
.
constructor
,
Solr
,
{},
'parsedFieldMap'
);
var
fieldsToParse
=
U
til
.
mergeStaticProps
(
this
.
constructor
,
Solr
,
{},
'parsedFieldMap'
);
var
result
=
{};
_
.
each
(
fieldsToParse
,
function
(
value
,
key
)
{
var
parsed
;
...
...
@@ -242,7 +242,7 @@ define(function(require) {
result
.
sort
=
sort
;
result
.
rows
=
pageSize
;
result
.
start
=
(
currentPage
-
1
)
*
pageSize
;
result
.
fl
=
u
til
.
mergeStaticSets
(
constructor
,
Solr
,
[],
'returnFields'
);
result
.
fl
=
U
til
.
mergeStaticSets
(
constructor
,
Solr
,
[],
'returnFields'
);
if
(
this
.
get
(
'options'
).
get
(
'highlighting'
))
{
result
.
hl
=
true
;
result
[
'hl.fl'
]
=
[
'content'
,
'title'
].
concat
(
constructor
.
extraHighlightFields
);
...
...
Please
register
or
sign in
to post a comment