Skip to content

Commit 1b69e54

Browse files
authored
Add Boost Fields (#244)
* Add boost factors * Add mention/credit count fields as int fields
1 parent ee534ef commit 1b69e54

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

deploy/adsabs/server/solr/collection1/conf/schema.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,33 @@
15591559
<field name="doctype_boost" type="tfloat" indexed="true"
15601560
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
15611561

1562+
<field name="refereed_boost" type="tfloat" indexed="true"
1563+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1564+
1565+
<field name="recency_boost" type="tfloat" indexed="true"
1566+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1567+
1568+
<field name="boost_factor" type="tfloat" indexed="true"
1569+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1570+
1571+
<field name="astronomy_final_boost" type="tfloat" indexed="true"
1572+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1573+
1574+
<field name="physics_final_boost" type="tfloat" indexed="true"
1575+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1576+
1577+
<field name="earth_science_final_boost" type="tfloat" indexed="true"
1578+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1579+
1580+
<field name="planetary_science_final_boost" type="tfloat" indexed="true"
1581+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1582+
1583+
<field name="heliophysics_final_boost" type="tfloat" indexed="true"
1584+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1585+
1586+
<field name="general_final_boost" type="tfloat" indexed="true"
1587+
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />
1588+
15621589
<!--
15631590
@api.doc
15641591
* cite_read_boost

deploy/adsabs/server/solr/collection1/conf/solrconfig.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
<str name="aqp.dateFields">entry_date,date</str>
759759
<str name="aqp.timestampFields">indexstamp,update_timestamp,entry_date,metadata_ctime,metadata_mtime,fulltext_ctime,fulltext_mtime,nonbib_ctime,nonbib_mtime,metrics_ctime,metrics_mtime,orcid_ctime,orcid_mtime</str>
760760
<str name="aqp.floatFields">cite_read_boost,citation_count_norm</str>
761-
<str name="aqp.intFields">recid,pubdate_sort,citation_count,classic_factor,simbid,uat_id,read_count,author_count,page_count,data_count</str>
761+
<str name="aqp.intFields">recid,pubdate_sort,citation_count,classic_factor,simbid,uat_id,read_count,author_count,page_count,data_count,mention_count,credit_count</str>
762762
<str name="aqp.authorFields">author,first_author,book_author,editor</str>
763763
<str name="aqp.humanized.dates">pubdate:date,entdate:entry_date:timestamp</str>
764764
<str name="aqp.force.fuzzy.phrases">author,first_author,book_author,editor</str>
@@ -837,7 +837,7 @@
837837
<str name="aqp.dateFields">entry_date,date</str>
838838
<str name="aqp.timestampFields">indexstamp,update_timestamp,entry_date,metadata_ctime,metadata_mtime,fulltext_ctime,fulltext_mtime,nonbib_ctime,nonbib_mtime,metrics_ctime,metrics_mtime,orcid_ctime,orcid_mtime</str>
839839
<str name="aqp.floatFields">cite_read_boost,citation_count_norm</str>
840-
<str name="aqp.intFields">recid,pubdate_sort,citation_count,classic_factor,simbid,uat_id,read_count,author_count,page_count,data_count</str>
840+
<str name="aqp.intFields">recid,pubdate_sort,citation_count,classic_factor,simbid,uat_id,read_count,author_count,page_count,data_count,mention_count,credit_count</str>
841841
<str name="aqp.authorFields">author,first_author,book_author,editor</str>
842842
<str name="aqp.humanized.dates">pubdate:date,entdate:entry_date:timestamp</str>
843843
<str name="aqp.force.fuzzy.phrases">author,first_author,book_author,editor</str>

0 commit comments

Comments
 (0)