YaCy '#[clientname]#': Index Deletion

#%env/templates/metas.template%#
#%env/templates/header.template%# #%env/templates/submenuIndexControl.template%#

## Index Deletion

The search index contains #[doccount]# documents. You can delete them here. Deletions are made concurrently which can cause that recently deleted documents are not yet reflected in the document count.

Index deletion will not immediately reduce the storage size on disk because entries are only marked as deleted in a first step. The storage size will later on shrink by itself if new documents are indexed or you can force a shrinking by performing an "Optimize Solr" procedure.

Delete by URL Matching

Delete all documents within a sub-path of the given urls. That means all documents must start with one of the url stubs as given here.

One URL stub, a list of URL stubs
or a regular expression
  #[urldelete]#
Matching Method
  sub-path of given URLs matching with regular expression
  #(urldelete-active)#::selected #[count]# documents for deletion::deleted #[count]# documents#(/urldelete-active)#

Delete by Age

Delete all documents which are older than a given time period.

Time Period
  All documents older than
Age Identification
  load date last-modified
  #(timedelete-active)#::selected #[count]# documents for deletion::deleted #[count]# documents#(/timedelete-active)#

Delete Collections

Delete all documents which are inside specific collections.

Not Assigned
  Delete all documents which are not assigned to any collection
Assigned
  Delete all documents which are assigned to the following collection(s) #(collectiondelete-select)#, separated by ',' (comma) or '|' (vertical bar); or generate the collection list...
  ::
  #(/collectiondelete-select)#
  #(collectiondelete-active)#::selected #[count]# documents for deletion::deleted #[count]# documents#(/collectiondelete-active)#

Delete by Solr Query

This is the most generic option: select a set of documents using a solr query.

Core
q=
  #[querydelete]#
  #(querydelete-active)#::selected #[count]# documents for deletion::deleted #[count]# documents#(/querydelete-active)#

#%env/templates/footer.template%#