Continues a search in the distributed search index.
defsearch_next(self,network_search_token):...
Parameter
Type
Description
network_search_token
NetworkSearchToken
The network search token.
Returns: GroupDocs.Search.SearchResult: The search result.
Example
fromgroupdocs.searchimportIndexfromgroupdocs.search.optionsimportSearchOptionsindex=Index("./index")options=SearchOptions()options.is_chunk_search=True# Perform the initial search to obtain the first chunk and a token for the next chunkresult=index.search("Einstein",options)whileresult.next_chunk_search_tokenisnotNone:result=index.search_next(result.next_chunk_search_token)print(f"Found {result.document_count} documents in this chunk.")
search_next
Continues a reverse image search in the distributed search index.
Returns: GroupDocs.Search.Scaling.NetworkImageSearchResult: The reverse image search result.
Example
fromgroupdocs.searchimportIndexfromgroupdocs.search.optionsimportSearchOptionsindex=Index("./index")index.add("./documents")options=SearchOptions()options.is_chunk_search=True# Perform the initial search to obtain the first chunk and a token for the next chunkresult=index.search("Einstein",options)whileresult.next_chunk_search_tokenisnotNone:result=index.search_next(result.next_chunk_search_token)print("Documents found in this chunk:",result.document_count)```### AliasesThesenamescall`search_next`too,limitedtotheoverloadslisted.|Alias|Accepts||:-|:-||`search_next_network_search_token`|`search_next_network_search_token(network_search_token)`||`search_next_network_image_search_token`|`search_next_network_image_search_token(network_image_search_token)`|### See Also*class[`Searcher`](/search/python-net/groupdocs.search.scaling/searcher/)
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.