omni.kit.search_core Classes#

Classes Summary:

AbstractSearchItem

AbstractSearchItem represents a single file in the file browser.

AbstractSearchModel

AbstractSearchModel represents the search results. It supports async mode. If the search engine requires time to process the request, it can return an empty list and perform the search in async mode. As soon as a result is ready, the model should call `self._item_changed()`. This will cause the view to reload the model. It is also possible to return the search result with portions.

SearchLifetimeObject

SearchLifetimeObject encapsulates a callback to be called when a search is finished.

SearchEngineRegistry