Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Company name is listed even if it has no contracts #6

Open
jerico opened this issue Oct 17, 2015 · 1 comment
Open

Company name is listed even if it has no contracts #6

jerico opened this issue Oct 17, 2015 · 1 comment

Comments

@jerico
Copy link

jerico commented Oct 17, 2015

If you try this:

http://api.resourcecontracts.org/contracts/search?q=&from=0&per_page=10000&group=metadata&country=ph

In company_name, "Adnama Mining Resources, Incorporated (Contractor/Operator)" is included. But when you query company_name, it does not contain any result.

http://api.resourcecontracts.org/contracts/search?from=0&per_page=1000&group=metadata&country=ph&company_name=Adnama%20Mining%20Resources,%20Incorporated%20(Contractor%2FOperator)&

Is it possible to omit company names that has no contract associated with them?

@anjesh
Copy link
Contributor

anjesh commented Oct 19, 2015

I think there are contracts with that company name but when you do the search by "company_name", then somehow it didn't work perhaps because of the indexing in ES. Related to #7 (comment)
Need to explore on this bit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants