18F / fbopen

[DEPRECATED] An open API server, data import tools, and sample apps to help small businesses search for opportunities to work with the U.S. government.
Other
101 stars 45 forks source link

Weird facet results #32

Closed seanherron closed 10 years ago

seanherron commented 10 years ago

Trying to do a search with Lucene query syntax, eg:

https://api.data.gov/gsa/fbopen/v0/opps?q=data_type:opp+AND+agency:NASA&api_key=

Gets me a super strange facet list result with what looks like an undocumented return.

seanherron commented 10 years ago

Actually, now I see facets are returned with every result. Probably would be worth documenting that.

arowla commented 10 years ago

Hi @seanherron, if you wanted to drop something in the docs about that, it would be welcome! From the referenced commit, you can see that I've added the Markdown for our Apiary docs to the repo so anyone can edit them (though changes will have to be pushed to Apiary manually). There's also the README for the API: https://github.com/18F/fbopen/blob/master/api/README.md

arowla commented 10 years ago

The impending Elasticsearch version of the API does not return facets by default. Closing.