MusicBrainz API/Search/AreaSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
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 index contains the following fields you can search:
Line 45: Line 30:
|}
|}


Area search terms with no fields specified search the area, sortname and alias fields.
Area search terms with no fields specified search the area and sortname fields.

Revision as of 15:11, 13 June 2013

Search Fields

The area index contains the following fields you can search:

field Description
aid the area ID
alias the aliases/misspellings for this area
area area name
begin area begin date
end area end date
ended area ended
sortname area sort name
iso area iso1, iso2 or iso3 codes
iso1 area iso1 codes
iso2 area iso3 codes
iso3 area iso3 codes
type the aliases/misspellings for this label

Area search terms with no fields specified search the area and sortname fields.