dbSearch: dbSearch

Description Usage Arguments Details Value Author(s)

Description

Elastic search function

Usage

1
2
3
4
5
dbSearch(db, nerModel, ...)

## S3 method for class 'es_conn'
dbSearch(db, nerModel, index = NULL, type = NULL,
  id = NULL, q = NULL, size = 10, ...)

Arguments

db

database connection

nerModel

A ner model supplied by MITIE

index

Document index

type

Type of document

id

ID to search

q

Search query

size

Size of results returned from each shard

...

Further arguments

Details

Searches elasticsearch and forms edgelsist of paired entities

Value

Edgelist of paired entities

Author(s)

Jared P. Lander

Jared P. Lander


jaredlander/TextInfo documentation built on May 18, 2019, 3:46 p.m.