<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class="">I’m investigating how to get faster full resync form jive to searchisko.</div><div class=""><br class=""></div><div class="">Jive performs not so bad - aproxx 25 users in 2 seconds which leads aprox 8.5 hours for 380.000 users.</div><div class=""><br class=""></div><div class="">But the full sync task looks like 10 days.</div><div class=""><br class=""></div><div class="">I checked production and looks like flush operation is very expensive - 5.7 hours (refresh 30 mins) so I focused where it is used.</div><div class=""><br class=""></div><div class="">See here: </div><div class=""><a href="https://github.com/searchisko/searchisko/blob/master/api/src/main/java/org/searchisko/api/service/ContributorService.java#L588" class="">https://github.com/searchisko/searchisko/blob/master/api/src/main/java/org/searchisko/api/service/ContributorService.java#L588</a></div><div class=""><br class=""></div><div class="">The searchClientService.performIndexFlushAndRefreshBlocking(SEARCH_INDEX_NAME); is called twice within same method.</div><div class=""><br class=""></div><div class="">Isn’t second call redundant?</div><div class=""><div class="">(<a href="https://github.com/searchisko/searchisko/blob/master/api/src/main/java/org/searchisko/api/service/ContributorService.java#L656" class="">https://github.com/searchisko/searchisko/blob/master/api/src/main/java/org/searchisko/api/service/ContributorService.java#L656</a>)</div><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class=""></div><div class="">Other question is where we’re with ES 1.4 with flush and refresh indices methods. Isn’t refresh enough? How it changed from ES 0.9 from time when the contributor service was implemented?</div><div class=""><br class=""></div><div apple-content-edited="true" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Thanks,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Libor Krzyžanek</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://jboss.org" class="">jboss.org</a> Development Team</div>
</div>
<br class=""></div></body></html>