optimizeIndices: Optimize the indices

Description Usage Arguments Examples

View source: R/index_funcs.R

Description

Optimize the triple-store indices

Usage

1
optimizeIndices(repository, level = 2, wait = FALSE, index = NULL)

Arguments

repository

Object of type repository specifying server details and repository to work on.

level

Specifies how aggressive the optimization will be (more aggression, more optimization, but takes more time). Has to be a positive integer (Defaults to 2)

wait

Default FALSE. If TRUE, then the service does not return until the optimization is complete

index

The name of the index to operate on; this can be specified multiple times in a list

Examples

1
2
3
4
5
6
## Not run: 
service = service("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
optimizeIndices(rep,index = list("gspoi","i"),level = 2,wait = TRUE)

## End(Not run)

baasman/allegRo documentation built on June 4, 2017, 12:11 a.m.