Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
ls.ext
Commits
2b66636f
Commit
2b66636f
authored
Dec 10, 2018
by
Petter Goksøyr Åsen
Browse files
avoid double entries in in-memmory indexes
parent
8fd14688
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
redef/services/src/main/java/no/deichman/services/search/SearchServiceImpl.java
View file @
2b66636f
...
@@ -709,7 +709,9 @@ public class SearchServiceImpl implements SearchService {
...
@@ -709,7 +709,9 @@ public class SearchServiceImpl implements SearchService {
// as Catalinker has no need for them.
// as Catalinker has no need for them.
return
;
return
;
}
}
if
(
doc
.
containsKey
(
"displayLine1"
))
{
if
(
doc
.
containsKey
(
"displayLine1"
))
{
removeFromLocalIndex
(
xuri
);
addIndexedName
(
addIndexedName
(
xuri
.
getTypeAsEntityType
(),
xuri
.
getTypeAsEntityType
(),
doc
.
get
(
"displayLine1"
).
toString
(),
doc
.
get
(
"displayLine1"
).
toString
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment