Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 881 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 881 Bytes

ocdSearch

Start of a search interface based on the bleve template package.

What

A search of the JSON-LD index for OCD

Docker notes

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go docker build --tag="opencoredata/ocdsearch:0.1" --tag="opencoredata/ocdsearch:latest" .

Examples

Indexing

Some notes on indexing. currently I have five indexes.

  • abstracts (CSDCO abstracts)
  • compositIndex (JRSO and CSDCO resources indexed)
  • CSDCO (resource index for CSDCO)
  • JRSO (resource index for JRSO)
  • test (a test index for some, well, testing...)

Really the compositIndex is redundant and remove some flexibility in searching. So I should just make the three indexs of: JRSO, CSDCO and abstracts.

Future work