Skip to main content
Version: Beta

SearchFilter

input SearchFilter {
keyword: KeywordFilter
companies: CompanyFilter
date: DateFilter
industries: [String!]
countries: [String!]
types: DocTypesFilter
sources: DocSourcesFilter
brokers: BrokerFilter
documentAuthors: [String!]
expertInsightsFilters: ExpertInsightsFilters
excludeIds: [String!]
}

Fields​

SearchFilter.keyword ● KeywordFilter input graph-ql-types​

SearchFilter.companies ● CompanyFilter input graph-ql-types​

SearchFilter.date ● DateFilter input graph-ql-types​

SearchFilter.industries ● [String!] list scalar graph-ql-types​

Use GICS to pass a list of required industries. Supports filter preset enum values also. e.g. ["ALL/DEFAULT/SYSTEM_DEFAULT"]. Please avoid combination of preset and country codes. e.g. [“DEFAULT“, <SOME_GICS_CODE>]

SearchFilter.countries ● [String!] list scalar graph-ql-types​

Use country codes to pass a list of required countries. Country code format is uppercase 2 letter symbol, for example: FI,US,CA For United States (non-US domicile) use US* Supports filter preset enum values also. e.g. ["ALL/DEFAULT/SYSTEM_DEFAULT"]. Please avoid combination of preset and country codes. e.g. [“DEFAULT“, <COUNTRY_CODE>]

SearchFilter.types ● DocTypesFilter input graph-ql-types​

Use types to pass a list of required document types

SearchFilter.sources ● DocSourcesFilter input graph-ql-types​

Use sources to pass a list of required document sources. Sources and Types are not the same fields! For some specific parents they hold different set of ids.

SearchFilter.brokers ● BrokerFilter input graph-ql-types​

Use brokers to pass a list of required broker codes. Brokers and factset brokers are used separately. They look similar however they are different fields. We do use them as this in every other service and in the FE

SearchFilter.documentAuthors ● [String!] list scalar graph-ql-types​

List of Authors associated with user documents. e.g "Craig Farrell". This is affecting only user documents and have no effect on public document types. In case of having nluEnabled this value will be overridden.

SearchFilter.expertInsightsFilters ● ExpertInsightsFilters input graph-ql-types​

Use expert insights filters to filter documents based on expert perspectives, analyst perspectives and expert transcript type

SearchFilter.excludeIds ● [String!] list scalar graph-ql-types​

Document ids to drop from the search results.

Resolved upstream as "includeIds minus excludeIds", so an excluded id is removed even if something else in the request would have matched it.

Set by callers that already render a document elsewhere and do not want it repeated — a cluster member page, for instance, excludes the leader that its host list is already showing, so the page comes back holding a full memberPageSize of other documents.

Member Of​

documentCountsInSearchResults query ● ExternalAskQuestionInput input ● GenSearchInput input ● search query ● searchById query ● SearchDocumentImageFilter input