Progress notification passed to the callback supplied to SearchManager's reindex methods, reported once for each document written to the new index. Carries the local index name being rebuilt, a running count of documents processed so far for that index, and the AppIndexer that produced the document, so callers can show reindexing progress or log activity per indexer.
Properties
| Property | Returns | Description |
|---|---|---|
| indexer | AppIndexer | The AppIndexer that produced the document most recently written to the index. |
| name | String | Local name of the search index currently being rebuilt, for example the index for content items or products. |
| processed | int | Running count of documents written to the new index so far for this index, incremented once per document. |
Methods
getName()
Returns: String
Local name of the search index currently being rebuilt, for example the index for content items or products.
getProcessed()
Returns: int
Running count of documents written to the new index so far for this index, incremented once per document.
getIndexer()
Returns: AppIndexer
The AppIndexer that produced the document most recently written to the index.