MusicBrainz API/Search/PlaceSearch: Difference between revisions
From MusicBrainz Wiki
< MusicBrainz API | Search
Jump to navigationJump to search
m (Legoktm moved page XML Web Service/Version 2/Search/PlaceSearch to MusicBrainz API/Search/PlaceSearch: Bot: Moved page) |
Reosarevok (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
====Search Fields==== |
====Search Fields==== |
||
The [[Place |
The [[Place]] index contains the following fields you can search |
||
{| border="1" class="wikitable sortable" |
{| border="1" class="wikitable sortable" |
||
|- |
|- |
||
! Field !! Description |
|||
|- |
|- |
||
| |
| address || (part of) the physical address for this place |
||
|- |
|- |
||
| alias || (part of) any [[Aliases|alias]] attached to the place (diacritics are ignored) |
|||
| address || the address of this place |
|||
|- |
|- |
||
| area || (part of) the name of the place's main associated area |
|||
| alias || the aliases/misspellings for this area |
|||
|- |
|- |
||
| begin || the place's begin date (e.g. "1980-01-22") |
|||
| area || area name |
|||
|- |
|- |
||
| |
| comment || (part of) the place's disambiguation comment |
||
|- |
|- |
||
⚫ | |||
| comment || disambiguation comment |
|||
|- |
|- |
||
| ended || a boolean flag (true/false) indicating whether or not the place has ended (is closed) |
|||
⚫ | |||
|- |
|- |
||
| lat || the (WGS 84) latitude of the place's coordinates (e.g. "58.388226") |
|||
| ended || place ended |
|||
|- |
|- |
||
| long || the (WGS 84) longitude of the place's coordinates (e.g. "26.702817") |
|||
| lat || place latitude |
|||
|- |
|- |
||
| |
| place || (part of) the place's name (diacritics are ignored) |
||
|- |
|- |
||
| |
| placeaccent || (part of) the place's name (with the specified diacritics) |
||
|- |
|- |
||
| |
| pid || the place's MBID |
||
|- |
|- |
||
| |
| type || the place's [[Place#Type|type]] |
||
|} |
|} |
||
Place search terms with no fields specified search the place, alias, address and area fields. |
|||
If you don't specify a field, the term will be searched for in the ''address'', ''alias'', ''area'' and ''place'' fields. |
Revision as of 12:08, 22 January 2021
Search Fields
The Place index contains the following fields you can search
Field | Description |
---|---|
address | (part of) the physical address for this place |
alias | (part of) any alias attached to the place (diacritics are ignored) |
area | (part of) the name of the place's main associated area |
begin | the place's begin date (e.g. "1980-01-22") |
comment | (part of) the place's disambiguation comment |
end | the place's end date (e.g. "1980-01-22") |
ended | a boolean flag (true/false) indicating whether or not the place has ended (is closed) |
lat | the (WGS 84) latitude of the place's coordinates (e.g. "58.388226") |
long | the (WGS 84) longitude of the place's coordinates (e.g. "26.702817") |
place | (part of) the place's name (diacritics are ignored) |
placeaccent | (part of) the place's name (with the specified diacritics) |
pid | the place's MBID |
type | the place's type |
If you don't specify a field, the term will be searched for in the address, alias, area and place fields.