-
Notifications
You must be signed in to change notification settings - Fork 9
Rest Service
Matthew Davis edited this page Jul 15, 2023
·
3 revisions
The parameter pretty=false
can be added to create compressed output on many of the calls
http://localhost:32192/query?&index=pubs&q=title:gene&rows=10
http://localhost:32192/query?&index=pubs&q=title:gene&rows=10&format=csv&fl=id&fl=title
http://localhost:32192/query?&index=pubs&q=title:gene&rows=10&fl=title
http://localhost:32192/query?&q=title:gene&rows=10&fl=-doi&fl=-abstract
http://localhost:32192/query?&index=pubs&facet=issn
http://localhost:32192/query?&index=pubs&facet=issn:100
http://localhost:32192/query?&index=pubs&facet=issn:100&drillDown=issn:1234-1234
http://localhost:32192/query?&index=pubs&q=cancer&qf=title&qf=abstract&rows=10
http://localhost:32192/query?&index=pubs&q=gene biology genotype&qf=title&qf=abstract&mm=2&defaultOp=OR&rows=10
Can use -1/DESC or 1/ASC and multiple sort parameters to sort on for example title and then date
http://localhost:32192/query?&index=pubs&sort=title:-1&rows=10
http://localhost:32192/query?index=pubs&q=*:*&fq=title:cancer&rows=10
http://localhost:32192/query?index=pubs&q=*:*&fqJson={q:"cancer diabetes genes",defaultOp:OR,mm=2,qf=["title","abstract"]}&rows=10
http://localhost:32192/query?&index=pubs&q=title:gene&rows=10&batch=true&batchSize=1000
http://localhost:32192/fields?index=pubs
http://localhost:32192/indexes
http://localhost:32192/index?index=someIndex
http://localhost:32192/nodes
http://localhost:32192/stats
http://localhost:32192/fetch?index=pubs&id=13442
http://localhost:32192/terms?index=pubs&fl=title
http://localhost:32192/terms?index=pubs&fl=title&format=csv
http://localhost:32192/terms?index=pubs&fl=title&minTermFreq=5000
http://localhost:32192/terms?index=pubs&fl=abstract&fuzzyTermJson={term:"gene",editDistance:1,prefixLength=3}
http://localhost:32192/terms?index=pubs&fl=title&minDocFreq=1000&amount=20
http://localhost:32192/terms?index=pubs&fl=title&startTerm=cancer&endTerm=cells
http://localhost:32192/terms?index=pubs&fl=abstract&includeTerm=cancer&includeTerm=gene
http://localhost:32192/associatedDocs?index=someIndex&id=123&fileName=readme.txt
Same url as POST instead of GET
http://localhost:32192/associatedDocs?index=someIndex&id=123&fileName=readme.txt
http://localhost:32192/associatedDocs/all?index=someIndex