You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by oc...@apache.org on 2009/05/24 14:55:05 UTC

svn commit: r778134 - in /archiva/trunk/archiva-docs/src/site/apt: adminguide/consumers.apt userguide/searching.apt

Author: oching
Date: Sun May 24 12:55:04 2009
New Revision: 778134

URL: http://svn.apache.org/viewvc?rev=778134&view=rev
Log:
o updated docs for changes made in MRM-1161, MRM-1179, MRM-1143, MRM-1160 and MRM-1188

Modified:
    archiva/trunk/archiva-docs/src/site/apt/adminguide/consumers.apt
    archiva/trunk/archiva-docs/src/site/apt/userguide/searching.apt

Modified: archiva/trunk/archiva-docs/src/site/apt/adminguide/consumers.apt
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/consumers.apt?rev=778134&r1=778133&r2=778134&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/adminguide/consumers.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/adminguide/consumers.apt Sun May 24 12:55:04 2009
@@ -72,7 +72,8 @@
  
   * <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.     
   

Modified: archiva/trunk/archiva-docs/src/site/apt/userguide/searching.apt
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/userguide/searching.apt?rev=778134&r1=778133&r2=778134&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/userguide/searching.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/userguide/searching.apt Sun May 24 12:55:04 2009
@@ -31,6 +31,25 @@
 
  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