eugeneware / eugeneware/jsonquery

level-search

Open
#1 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49
Forks
4
PR merge metrics
No merged PRs in 30d

Description

hi,

I just noticed this module yesterday,
which was exciting, because I had just implemented a
search api for `level`.

basically, each pair of keys in every document are indexed:

``` js
{ name: 'foo',
repository: { type: 'git', url: 'https://github.com/foofoo/foo.git'},
dependencies: {
bar: '1.0.0'
}
}
```

would index that file by the pairs:

```
name foo
repository type
repository url
type git
url https://github.com/dominictarr/level-search
dependencies bar
bar 1.0.0
```

this makes it possible to do nearly any search,
you could probably get really clever, but as a first step,
I just search on the pair that seems the least likely,
and then filter.

is there a way to get the keys involved in the query from jsonquery so that I could combine it with level-search?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.