Difference between revisions of "User:Mineo/SolrSearchFields"

From MusicBrainz Wiki
(Created page with " ===Annotation=== ====Search Fields==== The Annotation index contains the following fields you can search {| border="1" class="wikitable sortable" |- ! Field !! Descriptio...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This includes all the defined fields. Please check if their status in [https://raw.githubusercontent.com/mineo/sir/master/searchfields.org this document] is DONE to see if getting values into them is also implemented.
  
 
===Annotation===
 
===Annotation===
Line 7: Line 8:
 
! Field !! Description
 
! Field !! Description
  
 +
|-
 +
| entity ||
 
|-
 
|-
 
| id ||
 
| id ||
|-
 
| entity ||
 
 
|-
 
|-
 
| name ||
 
| name ||
Line 26: Line 27:
 
! Field !! Description
 
! Field !! Description
  
|-
 
| mbid ||
 
 
|-
 
|-
 
| aid ||
 
| aid ||
Line 34: Line 33:
 
|-
 
|-
 
| area ||
 
| area ||
 +
|-
 +
| areaaccent ||
 
|-
 
|-
 
| begin ||
 
| begin ||
Line 51: Line 52:
 
| iso3 ||
 
| iso3 ||
 
|-
 
|-
| names ||
+
| mbid ||
 +
|-
 +
| ngram ||
 +
|-
 +
| ref_count ||
 
|-
 
|-
| type ||
+
| sortname ||
 
|-
 
|-
 
| tag ||
 
| tag ||
 +
|-
 +
| type ||
  
 
|}
 
|}
Line 66: Line 73:
  
 
|-
 
|-
| mbid ||
+
| alias ||
 +
|-
 +
| primary_alias ||
 +
|-
 +
| area ||
 
|-
 
|-
 
| arid ||
 
| arid ||
|-
 
| name ||
 
 
|-
 
|-
 
| artist ||
 
| artist ||
 
|-
 
|-
| names ||
+
| artistaccent ||
 
|-
 
|-
| alias ||
+
| begin ||
|-
 
| sortname ||
 
|-
 
| area ||
 
 
|-
 
|-
 
| beginarea ||
 
| beginarea ||
 
|-
 
|-
| endarea ||
+
| comment ||
 
|-
 
|-
 
| country ||
 
| country ||
 
|-
 
|-
| begin ||
+
| end ||
 
|-
 
|-
| end ||
+
| endarea ||
 
|-
 
|-
 
| ended ||
 
| ended ||
|-
 
| comment ||
 
 
|-
 
|-
 
| gender ||
 
| gender ||
Line 100: Line 103:
 
| ipi ||
 
| ipi ||
 
|-
 
|-
| language ||
+
| isni ||
 +
|-
 +
| mbid ||
 +
|-
 +
| ngram ||
 +
|-
 +
| ref_count ||
 +
|-
 +
| sortname ||
 
|-
 
|-
 
| tag ||
 
| tag ||
Line 115: Line 126:
  
 
|-
 
|-
| id ||
+
| added ||
 
|-
 
|-
 
| artist ||
 
| artist ||
Line 124: Line 135:
 
|-
 
|-
 
| discid ||
 
| discid ||
 +
|-
 +
| id ||
 +
|-
 +
| ngram ||
 
|-
 
|-
 
| title ||
 
| title ||
 
|-
 
|-
 
| tracks ||
 
| tracks ||
|-
 
| tag ||
 
  
 
|}
 
|}
===Label===
+
===Editor===
 
====Search Fields====
 
====Search Fields====
The [[Label]] index contains the following fields you can search
+
The [[Editor]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
Line 140: Line 153:
  
 
|-
 
|-
| mbid ||
+
| bio ||
 +
|-
 +
| editor ||
 
|-
 
|-
| laid ||
+
| id ||
 
|-
 
|-
| label ||
+
| ngram ||
 +
 
 +
|}
 +
===Event===
 +
====Search Fields====
 +
The [[Event]] index contains the following fields you can search
 +
{| border="1" class="wikitable sortable"
 
|-
 
|-
| names ||
+
! Field !! Description
 +
 
 
|-
 
|-
 
| alias ||
 
| alias ||
 +
|-
 +
| aid ||
 
|-
 
|-
 
| area ||
 
| area ||
 
|-
 
|-
| country ||
+
| arid ||
 +
|-
 +
| artist ||
 
|-
 
|-
 
| begin ||
 
| begin ||
 +
|-
 +
| comment ||
 
|-
 
|-
 
| end ||
 
| end ||
 
|-
 
|-
 
| ended ||
 
| ended ||
 +
|-
 +
| eid ||
 +
|-
 +
| event ||
 +
|-
 +
| eventaccent ||
 +
|-
 +
| mbid ||
 +
|-
 +
| ngram ||
 +
|-
 +
| pid ||
 +
|-
 +
| place ||
 +
|-
 +
| tag ||
 +
|-
 +
| type ||
 +
 +
|}
 +
===Instrument===
 +
====Search Fields====
 +
The [[Instrument]] index contains the following fields you can search
 +
{| border="1" class="wikitable sortable"
 +
|-
 +
! Field !! Description
 +
 +
|-
 +
| alias ||
 
|-
 
|-
 
| comment ||
 
| comment ||
 
|-
 
|-
| code ||
+
| description ||
 +
|-
 +
| iid ||
 +
|-
 +
| instrument ||
 +
|-
 +
| instrumentaccent ||
 +
|-
 +
| mbid ||
 
|-
 
|-
| ipi ||
+
| ngram ||
 
|-
 
|-
 
| tag ||
 
| tag ||
Line 171: Line 236:
  
 
|}
 
|}
===Place===
+
===Label===
 
====Search Fields====
 
====Search Fields====
The [[Place]] index contains the following fields you can search
+
The [[Label]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
 
! Field !! Description
 
! Field !! Description
  
 +
|-
 +
| alias ||
 +
|-
 +
| area ||
 +
|-
 +
| begin ||
 +
|-
 +
| code ||
 +
|-
 +
| comment ||
 +
|-
 +
| country ||
 +
|-
 +
| end ||
 +
|-
 +
| ended ||
 +
|-
 +
| ipi ||
 +
|-
 +
| label ||
 +
|-
 +
| labelaccent ||
 +
|-
 +
| laid ||
 
|-
 
|-
 
| mbid ||
 
| mbid ||
 
|-
 
|-
| pid ||
+
| ngram ||
 +
|-
 +
| release_count ||
 +
|-
 +
| sortname ||
 +
|-
 +
| type ||
 
|-
 
|-
| names ||
+
| tag ||
 +
 
 +
|}
 +
===Place===
 +
====Search Fields====
 +
The [[Place]] index contains the following fields you can search
 +
{| border="1" class="wikitable sortable"
 +
|-
 +
! Field !! Description
 +
 
 
|-
 
|-
 
| address ||
 
| address ||
Line 202: Line 306:
 
|-
 
|-
 
| long ||
 
| long ||
 +
|-
 +
| mbid ||
 +
|-
 +
| ngram ||
 
|-
 
|-
 
| place ||
 
| place ||
 +
|-
 +
| placeaccent ||
 +
|-
 +
| pid ||
 
|-
 
|-
 
| type ||
 
| type ||
Line 216: Line 328:
  
 
|-
 
|-
| mbid ||
+
| alias ||
|-
 
| recording ||
 
|-
 
| name ||
 
 
|-
 
|-
 
| arid ||
 
| arid ||
Line 230: Line 338:
 
| creditname ||
 
| creditname ||
 
|-
 
|-
| isrc ||
+
| comment ||
 +
|-
 +
| country ||
 +
|-
 +
| date ||
 +
|-
 +
| dur ||
 
|-
 
|-
| rgid ||
+
| format ||
 
|-
 
|-
| reid ||
+
| isrc ||
 
|-
 
|-
| release ||
+
| mbid ||
 
|-
 
|-
| status ||
+
| number ||
 
|-
 
|-
| format ||
+
| ngram ||
 
|-
 
|-
 
| position ||
 
| position ||
 
|-
 
|-
| number ||
+
| primarytype ||
 +
|-
 +
| qdur ||
 
|-
 
|-
| tnum ||
+
| recording ||
 
|-
 
|-
| tracks ||
+
| recordingaccent ||
 
|-
 
|-
| tracksrelease ||
+
| reid ||
 
|-
 
|-
| tid ||
+
| release ||
 
|-
 
|-
| country ||
+
| rgid ||
 
|-
 
|-
| date ||
+
| rid ||
 
|-
 
|-
 
| secondarytype ||
 
| secondarytype ||
 
|-
 
|-
| primarytype ||
+
| status ||
 +
|-
 +
| tag ||
 
|-
 
|-
| type ||
+
| tid ||
 
|-
 
|-
| tag ||
+
| tnum ||
 
|-
 
|-
| comment ||
+
| tracks ||
 
|-
 
|-
| dur ||
+
| tracksrelease ||
 
|-
 
|-
| qdur ||
+
| type ||
 
|-
 
|-
 
| video ||
 
| video ||
Line 283: Line 401:
  
 
|-
 
|-
| mbid ||
+
| alias ||
|-
 
| rgid ||
 
|-
 
| releasegroup ||
 
 
|-
 
|-
 
| arid ||
 
| arid ||
Line 298: Line 412:
 
|-
 
|-
 
| creditname ||
 
| creditname ||
 +
|-
 +
| mbid ||
 +
|-
 +
| primarytype ||
 +
|-
 +
| ngram ||
 
|-
 
|-
 
| reid ||
 
| reid ||
 +
|-
 +
| release ||
 +
|-
 +
| releasegroup ||
 +
|-
 +
| releasegroupaccent ||
 
|-
 
|-
 
| releases ||
 
| releases ||
 
|-
 
|-
| release ||
+
| rgid ||
|-
 
| primarytype ||
 
 
|-
 
|-
 
| secondarytype ||
 
| secondarytype ||
|-
 
| type ||
 
 
|-
 
|-
 
| status ||
 
| status ||
 
|-
 
|-
 
| tag ||
 
| tag ||
 +
|-
 +
| type ||
  
 
|}
 
|}
Line 324: Line 448:
  
 
|-
 
|-
| mbid ||
+
| alias ||
|-
 
| reid ||
 
|-
 
| release ||
 
|-
 
| name ||
 
 
|-
 
|-
 
| arid ||
 
| arid ||
|-
 
| country ||
 
|-
 
| date ||
 
|-
 
| comment ||
 
|-
 
| lang ||
 
|-
 
| script ||
 
 
|-
 
|-
 
| artist ||
 
| artist ||
Line 353: Line 461:
 
|-
 
|-
 
| catno ||
 
| catno ||
 +
|-
 +
| comment ||
 +
|-
 +
| country ||
 
|-
 
|-
 
| creditname ||
 
| creditname ||
 +
|-
 +
| date ||
 
|-
 
|-
 
| discids ||
 
| discids ||
 +
|-
 +
| discidsmedium ||
 
|-
 
|-
 
| format ||
 
| format ||
Line 363: Line 479:
 
|-
 
|-
 
| label ||
 
| label ||
 +
|-
 +
| lang ||
 +
|-
 +
| mbid ||
 
|-
 
|-
 
| mediums ||
 
| mediums ||
 +
|-
 +
| ngram ||
 +
|-
 +
| primarytype ||
 
|-
 
|-
 
| quality ||
 
| quality ||
 +
|-
 +
| reid ||
 +
|-
 +
| release ||
 +
|-
 +
| releaseaccent ||
 
|-
 
|-
 
| rgid ||
 
| rgid ||
 +
|-
 +
| script ||
 +
|-
 +
| secondarytype ||
 
|-
 
|-
 
| status ||
 
| status ||
Line 378: Line 512:
 
| tracksmedium ||
 
| tracksmedium ||
 
|-
 
|-
| primarytype ||
+
| type ||
 +
 
 +
|}
 +
===Series===
 +
====Search Fields====
 +
The [[Series]] index contains the following fields you can search
 +
{| border="1" class="wikitable sortable"
 +
|-
 +
! Field !! Description
 +
 
 +
|-
 +
| alias ||
 +
|-
 +
| comment ||
 +
|-
 +
| orderingattribute ||
 +
|-
 +
| mbid ||
 +
|-
 +
| ngram ||
 +
|-
 +
| series ||
 +
|-
 +
| seriesaccent ||
 +
|-
 +
| sid ||
 
|-
 
|-
| secondarytype ||
+
| tag ||
 
|-
 
|-
 
| type ||
 
| type ||
Line 396: Line 555:
 
|-
 
|-
 
| tag ||
 
| tag ||
 +
|-
 +
| ngram ||
  
 
|}
 
|}
===Work===
+
===Url===
 
====Search Fields====
 
====Search Fields====
The [[Work]] index contains the following fields you can search
+
The [[Url]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
Line 408: Line 569:
 
| mbid ||
 
| mbid ||
 
|-
 
|-
| wid ||
+
| ngram ||
 +
|-
 +
| relationtype ||
 +
|-
 +
| targetid ||
 +
|-
 +
| targettype ||
 +
|-
 +
| uid ||
 +
|-
 +
| url ||
 
|-
 
|-
| name ||
+
| url_ancestor ||
 
|-
 
|-
| work ||
+
| url_descendent ||
 +
 
 +
|}
 +
===Work===
 +
====Search Fields====
 +
The [[Work]] index contains the following fields you can search
 +
{| border="1" class="wikitable sortable"
 
|-
 
|-
| names ||
+
! Field !! Description
 +
 
 
|-
 
|-
 
| alias ||
 
| alias ||
Line 427: Line 605:
 
|-
 
|-
 
| lang ||
 
| lang ||
 +
|-
 +
| mbid ||
 +
|-
 +
| ngram ||
 +
|-
 +
| recording ||
 +
|-
 +
| recording_count ||
 +
|-
 +
| rid ||
 
|-
 
|-
 
| tag ||
 
| tag ||
 
|-
 
|-
 
| type ||
 
| type ||
 +
|-
 +
| wid ||
 +
|-
 +
| work ||
 +
|-
 +
| workaccent ||
  
 
|}
 
|}

Latest revision as of 18:20, 9 September 2018

This includes all the defined fields. Please check if their status in this document is DONE to see if getting values into them is also implemented.

Annotation

Search Fields

The Annotation index contains the following fields you can search

Field Description
entity
id
name
text
type

Area

Search Fields

The Area index contains the following fields you can search

Field Description
aid
alias
area
areaaccent
begin
comment
end
ended
iso
iso1
iso2
iso3
mbid
ngram
ref_count
sortname
tag
type

Artist

Search Fields

The Artist index contains the following fields you can search

Field Description
alias
primary_alias
area
arid
artist
artistaccent
begin
beginarea
comment
country
end
endarea
ended
gender
ipi
isni
mbid
ngram
ref_count
sortname
tag
type

Cdstub

Search Fields

The Cdstub index contains the following fields you can search

Field Description
added
artist
barcode
comment
discid
id
ngram
title
tracks

Editor

Search Fields

The Editor index contains the following fields you can search

Field Description
bio
editor
id
ngram

Event

Search Fields

The Event index contains the following fields you can search

Field Description
alias
aid
area
arid
artist
begin
comment
end
ended
eid
event
eventaccent
mbid
ngram
pid
place
tag
type

Instrument

Search Fields

The Instrument index contains the following fields you can search

Field Description
alias
comment
description
iid
instrument
instrumentaccent
mbid
ngram
tag
type

Label

Search Fields

The Label index contains the following fields you can search

Field Description
alias
area
begin
code
comment
country
end
ended
ipi
label
labelaccent
laid
mbid
ngram
release_count
sortname
type
tag

Place

Search Fields

The Place index contains the following fields you can search

Field Description
address
alias
area
begin
comment
end
ended
lat
long
mbid
ngram
place
placeaccent
pid
type

Recording

Search Fields

The Recording index contains the following fields you can search

Field Description
alias
arid
artist
artistname
creditname
comment
country
date
dur
format
isrc
mbid
number
ngram
position
primarytype
qdur
recording
recordingaccent
reid
release
rgid
rid
secondarytype
status
tag
tid
tnum
tracks
tracksrelease
type
video

Release-group

Search Fields

The Release-group index contains the following fields you can search

Field Description
alias
arid
artist
artistname
comment
creditname
mbid
primarytype
ngram
reid
release
releasegroup
releasegroupaccent
releases
rgid
secondarytype
status
tag
type

Release

Search Fields

The Release index contains the following fields you can search

Field Description
alias
arid
artist
artistname
asin
barcode
catno
comment
country
creditname
date
discids
discidsmedium
format
laid
label
lang
mbid
mediums
ngram
primarytype
quality
reid
release
releaseaccent
rgid
script
secondarytype
status
tag
tracks
tracksmedium
type

Series

Search Fields

The Series index contains the following fields you can search

Field Description
alias
comment
orderingattribute
mbid
ngram
series
seriesaccent
sid
tag
type

Tag

Search Fields

The Tag index contains the following fields you can search

Field Description
id
tag
ngram

Url

Search Fields

The Url index contains the following fields you can search

Field Description
mbid
ngram
relationtype
targetid
targettype
uid
url
url_ancestor
url_descendent

Work

Search Fields

The Work index contains the following fields you can search

Field Description
alias
arid
artist
comment
iswc
lang
mbid
ngram
recording
recording_count
rid
tag
type
wid
work
workaccent