Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this first of a series of blogs about SOLR Solr result sets I'd like to talk about returned fields, both static and dynamic.

Stored Fields

Any field that is stored in SOLR Solr can be returned in the result set. The following table shows all available stored fields:

name
Name
desc
Description
type
Type
indexed
Indexed
timestamplast modification stamptdate
ab_*all abstractsmixed: alexandria_text, alexandria_asian_texttrue
ucidunique character identifierstring
adfiling datetinttrue
loadidmeta load identifiertint
anapplication number (tokenized)alexandria_tokentrue
nclmsnumber of claimstint
anorigoriginal, patent office format application numberalexandria_tokentrue
nindepclmsnumber of independent claimstint
anseriesUS application series codealexandria_stringtrue
fam
anucid
family
standardized filing identifierstringtrue
pnpatent number (tokenized)
eclaECLA classificationalexandria_
token
stringtrue
pd
fam
publication date
family identifier
tint
stringtrue
anapplication number (tokenized)anorigoriginal, patent office format application number
ftermF-Termsalexandria_stringtrue
icl,cpcl,uscl,ficlclassifications suitable for displaystringfalse
ifi_name_current_idcurrent assignee identifierstringtrue
ifi_name_original_idoriginal assignee identifierstringtrue
ifi_paIFI assigneesalexandria_tokentrue
anseriesUS application series codealexandria_stringtrue
invinventorsalexandria_tokentrue
loadidmeta load identifiertinttrue
nclmsnumber of claimstinttrue
nindepclmsnumber of independent claimstinttrue
paapplicants/assignees (all formats)alexandria_tokentrue
ad
pd
filing
publication datetinttrue
pri
pn
priority filing
patent number (tokenized)alexandria_
string
tokentrue
priorig
pri
original, patent office format
priority filing number (tokenized)alexandria_stringtrue
pridearliest priority filing date
tinttrueicl,cpcl,uscl,ficlclassifications suitable for displaystringfalseinvinventorsalexandria_token
tinttrue
paapplicants/assignees (all formats)
priorigoriginal, patent office format priority numberalexandria_
token
stringtrue
ifi_paIFI assigneesalexandria_token
timestamplast modification stamptdatetrue
ttl_*all titlesmixed: alexandria_text, alexandria_asian_texttrue
ab_*all abstractsmixed: alexandria_text, alexandria_asian_text
ucidunique character identifierstringtrue


The shorthand to return all static fields is the asterisk fl=*

...

Some things to notice: Multi-valued fields are returned as JSON arrays. Also, as invpa and ifi_pa are copyFields containing multiple values, duplicate entries may appear.

Dynamic Fields

Dynamic fields are fields that are generated either internally, like the relevance score or fields that can be generated by computing values using function queries. Dynamic fields must be listed explicitly in the fl parameter, e.g., fl=score. Below, we request the static ucid field together with the relevance score for 5 results.

...

Code Block
languagetext
         "docs" : [
            {
               "ucid" : "US-20160054444-A1",
               "nclms" : 19,
               "nindepclms" : 2,
               "sub(nclms,nindepclms)" : 17
            },
            {
               "ucid" : "US-9268020-B2",
               "nclms" : 74,
               "nindepclms" : 3,
               "sub(nclms,nindepclms)" : 71
            }
         ],

Field Aliases

Field aliasing allows individual fields in the result set to be renamed. This functionality is particularly useful to give meaningful names to pseudo fields created by function queries as in the example above. Any field can be renamed using aliases. The syntax is: alias-field-name:original-field-name

...