Closed lovehandle closed 11 years ago
Currently, NAICS API endpoint is set to only search on 6-digit codes. This prevents duplicate titles from showing up. For instance, it's very common for 5-digit codes to only refer to their 6-digit versions and this is set to prevent both from showing up in a list of search results.
I've created a route for NAICS category search on the following branch: backend. The route is exposed as follows:
/categories/search?keywords=rice farming
Currently, the route requires that categories exist within the database, and it could be optimized with regard to how it's searching. We should discuss alternative searching strategies and think through what information needs to be returned from this route. Let's move that discussion to an alternate thread.
Marking as closed
Create a NAICS business category endpoint that takes a list of keywords and returns a JSON array of NAICS business categories.
Query:
Response: