Multi-source API

Elasticsearch DSL

6min

Data type: Company (Multi-source) Query type: Elasticsearch Domain Specific Language (ES DSL) URL: https://api.coresignal.com/cdapi/v1/multi_source/company/search/es_dsl.

Overview

Use the /v1/multi_source/company/search/es_dsl endpoint to find company data matching your specifications. Elasticsearch schema allows you to use more sophisticated queries like fuzzy and wildcard queries. Additionally, the endpoint allows you to operate filters that mimic our Multi-source data.

Elasticsearch structure maps directly to our Multi-source Company data points:

Endpoint schema


You can choose between two sorting options: sort by ID or score. If you omit the sort part entirely, the sorting will be by ID by default.

Sorting by score enables you to view search results in order of relevance, with the most relevant items appearing first.

Sorting by ID arranges the list of IDs in ascending order, starting from the smallest value and progressing to the largest.

Choose the sorting type in the sort section of the endpoint payload:

Endpoint payload
Sort by score
Sort by id


Limitations

  • We do not own the functions and syntax that this endpoint operates in. For all specific Elasticsearch DSL information, please refer to their official documentation.
  • The endpoint accepts the query object of a standard Elasticsearch request.
  • No matter the content of the query, the search only returns record IDs (like all other Search endpoints).
  • Queries in this endpoint are limited to 15,000 characters.
  • The maximum number of clauses a BooleanQuery can contain (number of boolean operators within the query) is 1024.

More information on Elasticsearch DSL



Updated 29 Oct 2024
Did this page help you?