Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
```
object DocumentFactory : DocumentClassFactory<ExternalSearch> {
init {
val instance = DocumentClassFactoryRegistry.getInstance()
var factories by DocumentClassFactoryRegistry::class.java.privateField()
.asProperty<DocumentClassFactoryRegistry, MutableMap<Class<*>, DocumentClassFactory<*>>>(
instance
)
factories.put(ExternalSearch::class.java, this)
}
}
```
Maybe I could make expose an AppSearchDocumentClassMap implementation from somwhere, but that seems like a lot of work.