You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove "$targetWorkspaceName" from indexer -- as that's a very crude hack #45
... Instead of manipulating context node path using string replace, we should instead do the following:
if NodeInUserWorkspace is published + should be indexed, create an new context (with same dimension values and DIFFERENT workspace). Then, using this new context, we fetch the published node by node path. Then, we use that one for indexing.
... Discovered together with Christopher at T3CON.
Activity
dfeyer commentedon Aug 5, 2016
@bwaidelich Is this issue always a problem ? And if it's the case, can push a PR to solve it ?
bwaidelich commentedon Aug 6, 2016
@dfeyer wrong (se)bastian ;)
dfeyer commentedon Aug 6, 2016
@skurfuerst Ping, is this issue fixed now or did we need to tackle it ?
dfeyer commentedon Oct 5, 2016
@skurfuerst Ping again, this is quiet old issue, but not sure if it affect the current implementation ?
skurfuerst commentedon Oct 17, 2016
Hey Dominique,
this is still relevant I think:
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer/NodeIndexer.php
Line 144 in a092e41
All the best,
Sebastian
kdambekalns commentedon Jun 2, 2017
Also the current version that string manipulation is still done:
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Indexer/NodeIndexer.php
Line 264 in 070fded
And in three more places:
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Indexer/NodeIndexer.php
Line 181 in 070fded
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Driver/Version1/IndexerDriver.php
Line 93 in 070fded
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Driver/Version2/IndexerDriver.php
Line 95 in 070fded
These should (re-)use
calculateDocumentIdentifier()as defined inFlowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Indexer/NodeIndexer.php
Line 259 in 070fded
dfeyer commentedon Apr 7, 2019
@kdambekalns Code duplication is remove here 2e04e1f