MusicBrainz API/Search/AreaSearch: Difference between revisions
From MusicBrainz Wiki
< MusicBrainz API | Search
Jump to navigationJump to search
m (Legoktm moved page XML Web Service/Version 2/Search/AreaSearch to MusicBrainz API/Search/AreaSearch: Bot: Moved page) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
ID ("_id", MusicBrainzFieldTypes.TEXT_STORED_ANALYZED_NO_NORMS, new KeywordAnalyzer()), |
|||
AREA_ID ("aid", MusicBrainzFieldTypes.TEXT_STORED_NOT_ANALYZED_NO_NORMS, new KeywordAnalyzer()), |
|||
ALIAS ("alias", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED, new MusicbrainzWithPosGapAnalyzer()), |
|||
AREA ("area", MusicBrainzFieldTypes.TEXT_STORED_ANALYZED, new MusicbrainzAnalyzer()), |
|||
BEGIN ("begin", MusicBrainzFieldTypes.TEXT_NOT_STORED_NOT_ANALYZED_NO_NORMS, new KeywordAnalyzer()), |
|||
END ("end", MusicBrainzFieldTypes.TEXT_NOT_STORED_NOT_ANALYZED_NO_NORMS, new KeywordAnalyzer()), |
|||
ENDED ("ended", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
SORTNAME ("sortname", MusicBrainzFieldTypes.TEXT_STORED_ANALYZED, new MusicbrainzAnalyzer()), |
|||
ISO ("iso", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
ISO1 ("iso1", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
ISO2 ("iso2", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
ISO3 ("iso3", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
TYPE ("type", MusicBrainzFieldTypes.TEXT_NOT_STORED_ANALYZED_NO_NORMS, new CaseInsensitiveKeywordAnalyzer()), |
|||
AREA_STORE ("areastore", MusicBrainzFieldTypes.TEXT_STORED_NOT_INDEXED), |
|||
====Search Fields==== |
====Search Fields==== |
||
The area index contains the following fields you can search: |
The [[Area|area]] index contains the following fields you can search: |
||
{| border="1" class="wikitable sortable" |
{| border="1" class="wikitable sortable" |
||
|- |
|- |
||
! Field !! Description |
|||
|- |
|||
| aid || the area's MBID |
|||
|- |
|- |
||
| |
| alias || an alias attached to the area |
||
|- |
|- |
||
| |
| area || the area's name |
||
|- |
|- |
||
| |
| begin || the area's begin date |
||
|- |
|- |
||
| |
| comment || the area's disambiguation comment |
||
|- |
|- |
||
| |
| end || the area's end date |
||
|- |
|- |
||
| |
| ended || a flag indicating whether or not the area has ended |
||
|- |
|- |
||
| iso || an ISO 3166-1/2/3 code attached to the area |
|||
| sortname || area sort name |
|||
|- |
|- |
||
| |
| iso1 || an ISO 3166-1 code attached to the area |
||
|- |
|- |
||
| iso2 || an ISO 3166-2 code attached to the area |
|||
| iso1 || area iso1 codes |
|||
|- |
|- |
||
| iso3 || an ISO 3166-3 code attached to the area |
|||
| iso2 || area iso3 codes |
|||
|- |
|- |
||
| |
| sortname || the area's sort name |
||
|- |
|- |
||
| |
| type || the area's type |
||
|} |
|} |
||
Area search terms with no fields specified search the area |
Area search terms with no fields specified search the ''area'' and ''sortname'' fields. |
Revision as of 00:06, 8 July 2020
Search Fields
The area index contains the following fields you can search:
Field | Description |
---|---|
aid | the area's MBID |
alias | an alias attached to the area |
area | the area's name |
begin | the area's begin date |
comment | the area's disambiguation comment |
end | the area's end date |
ended | a flag indicating whether or not the area has ended |
iso | an ISO 3166-1/2/3 code attached to the area |
iso1 | an ISO 3166-1 code attached to the area |
iso2 | an ISO 3166-2 code attached to the area |
iso3 | an ISO 3166-3 code attached to the area |
sortname | the area's sort name |
type | the area's type |
Area search terms with no fields specified search the area and sortname fields.