addIndex: Add index to repository

Description Usage Arguments Value Examples

Description

Add the index type from the triple-store.

Usage

1
addIndex(repository, type, style = c(0, 1, 2))

Arguments

repository

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

type

Type of index. Use listIndices(...,valid = TRUE) to see all possible indices

style

Specifies the chunk style of the new index. Can be 0, 1 or 2

Value

An index of type to the triple-store. (invisible)

Examples

1
2
3
4
5
6
## Not run: 
service = service("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
addIndex(rep,type = "gspoi",style = 0)

## End(Not run)

baasman/allegRo documentation built on May 11, 2019, 5:22 p.m.