Skip to content

jhc20/query-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

First build the queries either according to term, wildcard, prefix, or range. Then simply call the function build() to get json data.

For example:

If you want to a query for searching artist name dread and get the first 20 results:

var qb = new QueryBuilder(); qb.prefix_builder("name", "dread"); var json_data = qb.build(0,20);

Then you can do a simple ajax call request to the elastic server with the json_data to get the results back.

About

an api to build simple json queries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published