Commit 2b66636f authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

avoid double entries in in-memmory indexes

parent 8fd14688
......@@ -709,7 +709,9 @@ public class SearchServiceImpl implements SearchService {
// as Catalinker has no need for them.
return;
}
if (doc.containsKey("displayLine1")) {
removeFromLocalIndex(xuri);
addIndexedName(
xuri.getTypeAsEntityType(),
doc.get("displayLine1").toString(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment