Checks whether the specified directory contains an index of the latest version.
defis_latest_version(self,index_path):...
Parameter
Type
Description
index_path
str
The index directory path.
Returns: bool: True if the specified directory contains an index of the latest version; otherwise False.
Example
fromgroupdocs.searchimportIndexUpdaterupdater=IndexUpdater()ifupdater.is_latest_version("./my_index"):print("The index has the current version.")else:print("The index is outdated.")
Aliases
These names call is_latest_version too, limited to the overloads listed.