Example Solr Queries: Difference between revisions

From GO Wiki
Jump to navigation Jump to search
(Created page with "=Overview= This page has examples of various kinds of queries possible on the GO Solr document store (GOlr), =Usage= The current testing ground for GOlr is: http://skewer.lb...")
 
No edit summary
Line 9: Line 9:
  http://skewer.lbl.gov:8080/solr/
  http://skewer.lbl.gov:8080/solr/


Also, there is an experimental version of GOOSE that can talk to Solr--:
This is a naked SOlr server; you can access it with any http client, including a web browser. Also, there is an experimental version of GOOSE that can talk to Solr:


  http://amigo2.berkeleybop.org/goose
  http://amigo2.berkeleybop.org/goose
This method is currently a little slower, but may make learning a little bit easier.


=Example Queries=
=Example Queries=
Line 22: Line 24:


TODO
TODO
==IEA Annotations from TAIR (first 10)==
* URL
http://skewer.lbl.gov:8080/solr/select?qt=standard&fl=*%2Cscore&version=2.2&wt=json&rows=10&indent=on&q=*:*&fq=document_category:annotation&start=0
* GOOSE
q=*:*
fq=document_category:annotation
fq=source:"TAIR"
fq=evidence_type:"IEA"

Revision as of 03:46, 1 December 2011

Overview

This page has examples of various kinds of queries possible on the GO Solr document store (GOlr),

Usage

The current testing ground for GOlr is:

http://skewer.lbl.gov:8080/solr/

This is a naked SOlr server; you can access it with any http client, including a web browser. Also, there is an experimental version of GOOSE that can talk to Solr:

http://amigo2.berkeleybop.org/goose

This method is currently a little slower, but may make learning a little bit easier.

Example Queries

All documents (first 10)

TODO

All documents (first 20)

TODO

IEA Annotations from TAIR (first 10)

  • URL
http://skewer.lbl.gov:8080/solr/select?qt=standard&fl=*%2Cscore&version=2.2&wt=json&rows=10&indent=on&q=*:*&fq=document_category:annotation&start=0
  • GOOSE
q=*:*
fq=document_category:annotation
fq=source:"TAIR"
fq=evidence_type:"IEA"