* <update-db-project> - Gets the details of the artifact from the pom and saves it into the database (as a project model)
- * <index-public-methods> - Indexes the java public methods for full text search.
+ * <index-public-methods> - Indexes the java public methods for full text search. This has been removed since 1.2. Public
+ methods are indexed by the <<<index-content>>> consumer.
* <update-db-bytecode-stats> - Updates database with java bytecode stats.
The Search functionality of Archiva allows a user to search for specific artifact references in the repository.
+* Indexing
+
+ Before artifacts can be searched in Archiva, they need to be indexed first. Aritfacts are indexed during
+ these instances:
+
+ * when a repository is scanned
+
+ * when an artifact is deployed or uploaded in the repository
+
+ * when an artifact is proxied or downloaded from a remote repository
+
+ []
+
+ During repository scanning, the <<<index-content>>> consumer (see {{{../adminguide/consumers.html}Consumers}}) creates an
+ indexing task and queues it in an indexing task queue. This indexing task is in turn executed by a task executor and
+ that's where the actual indexing happens. A similar indexing task is also created and queued as artifacts are deployed
+ in the Archiva repository or proxied from a remote repository. The reason behind this is to avoid multiple or simultaneous
+ update of the index (a repository scan might be executing while artifacts are being deployed in the repository).
+
* What Can Be Searched?
The repository files that are indexed during repository scan can be configured in the Repository Scanning page, in the