<commit_before><?php $this->load->view('developer_header'); ?>
<section id="k-titler" class="fixed-head-marger" style="margin-top: 109px;"><!-- starts header -->
	<div class="container section-space30"><!-- starts container -->
		<div class="row"><!-- starts row -->
			<div class="col-lg-6 col-md-6 col-sm-12">
				<h2 class="k-page-title">ANDS Indexed Fields</h2>
			</div>
			<div class="col-lg-6 col-md-6 col-sm-12">
				<ol class="breadcrumb pull-right">
					<li><?php echo anchor('/', 'Home'); ?></li>
					<li><?php echo anchor('/documentation/services/', 'Services'); ?></li>
					<li class="active">Indexed Fields</li>
				</ol>
			</div>
		</div>
	</div>
</section>
<section id="k-content">
	<div class="container section-space60">
		<div class="row"><div id="k-main" class="clearfix col-lg-12 col-md-12 col-sm-12"><article>
			<div class="alert alert-info">Only PUBLISHED Records are currently indexed.</div>

<?php 
	$common_fields = array(
		array('key','string','The key of the record, provided in the RIFCS &lt;key&gt; element '),
		array('fulltext','text_general','A full-text search of the entire record (and ANDS-inferred values)'),
		array('display_title', 'text_en_splitting', "The title of the record (built from it's nameParts"),
		array('list_title', 'text_en_splitting', "The alternate title of the record used when the record is displayed in a list"),
		array('simplified_title', 'text_en_splitting', "The simplified title of the record used when the record has special characters and/or unicode chars"),
		array('description', 'text_en_splitting', "The description used for displaying search results."),
		array('class', 'string', "The class of the record (one of <code>collection</code>, <code>party</code>, <code>activity</code>, <code>service</code>)"),
		array('type', 'string', "The registryObject type attribute (i.e. <code>dataset</code> (collections) or <code>group</code> (for parties))"),
		array('group', 'string', "The group attribute of the registry object (usually the name of the institution/provider)"),
		array('update_timestamp', 'date', "The W3CDTF timestamp representing when the record was most recently updated"),
		array('slug', 'string', "The unique user-friendly URL <code>slug</code> which is appended to the base url of the portal."),
		array('contributor_page', 'string', "The slug of the contributor page of the data source that this record belongs to, if the slug is the same as the record, this indicate that the record is the contributor page"),
		array('logo','string','The logo of the record in the registry'),
		array('license_class','string','The license of the record'),
		array('originating_source','string','The originating source of the record'),
	);

	$vocab_fields = array(
		array('subject_value_resolved','string','The resolved value of the subject (if any) (i.e. <code>MATHEMATICAL SCIENCES</code>).'),
		array('subject_value_unresolved','text_en_splitting','The subject value provided to ANDS (usually an anzsrc code in notation form (i.e. <code>020103</code>))'),
		array('subject_type','text_en_splitting','The type value of the subject (if any) (i.e. <code>anzsrc-for</code>).'),
		array('subject_vocab_uri','text_en_splitting','The resolved URI of the subject (if it is matched in a supported vocabulary).'),
	);

	$relation_fields = array(
		array('related_object_key','string','The key of records which this record relates to (note: does NOT include inferred/reverse links)'),
		array('related_object_id','string','The id of records which this record relates to (note: does NOT include inferred/reverse links)'),
		array('related_object_class','string','The class of records which this record relates to (provided they exist in the registry) (i.e. <code>collection</code>, <code>party</code>, <code>activity</code>, <code>service</code>).'),
		array('related_object_type','string','The type of records which this record relates to (provided they exist in the registry).'),
		array('related_object_display_title','string','The title for records which this record relates to (provided they exist in the registry)'),
		array('related_object_relation','text_en_splitting','The nature of the relation (i.e. <code>isPartOf</code>)'),
	);

	$other_fields = array(
		array('id','string','The unique registry id of the record (generated internally during the ingest process)'),
		array('description_value','text_en_splitting','The values of description elements in the record.'),
		array('description_type','text_en_splitting','The types of description elements in the record.'),
		array('identifier_value','text_en_splitting','The values of identifier elements in the record.'),
		array('identifier_type','text_en_splitting','The types of identifier elements in the record.'),
		array('spatial_coverage_extents','location_rpt','The extents of spatial coverage of this registry object (a bounding box on each of the spatial_coverage_polygons)'),
		array('spatial_coverage_centres','text_en_splitting','Lat,Long pairs of the centre of each spatial region'),
		array('date_to','tdate','Dates related to the registry object indicating a "dateFrom" value'),
		array('date_from','tdate','Dates related to the registry object indicating a "dateTo" value'),
		array('earliest_year','sint','The year of the earliest date value (for temporal-based search)'),
		array('latest_year','sint','The year of the latest date value (for temporal-based search)'),
	);
?>
			<h2 class="k-fancy-title">Common Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($common_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Vocabulary Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($vocab_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Relationship Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($relation_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Other Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($other_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>


		</article></div></div><!-- end row -->
	</div><!-- end container-->
</section>
<?php $this->load->view('developer_footer'); ?><commit_msg>Updated to reflect r12 solr index<commit_after><?php $this->load->view('developer_header'); ?>
<section id="k-titler" class="fixed-head-marger" style="margin-top: 109px;"><!-- starts header -->
	<div class="container section-space30"><!-- starts container -->
		<div class="row"><!-- starts row -->
			<div class="col-lg-6 col-md-6 col-sm-12">
				<h2 class="k-page-title">ANDS Indexed Fields</h2>
			</div>
			<div class="col-lg-6 col-md-6 col-sm-12">
				<ol class="breadcrumb pull-right">
					<li><?php echo anchor('/', 'Home'); ?></li>
					<li><?php echo anchor('/documentation/services/', 'Services'); ?></li>
					<li class="active">Indexed Fields</li>
				</ol>
			</div>
		</div>
	</div>
</section>
<section id="k-content">
	<div class="container section-space60">
		<div class="row"><div id="k-main" class="clearfix col-lg-12 col-md-12 col-sm-12"><article>
			<div class="alert alert-info">Only PUBLISHED Records are currently indexed.</div>

<?php 
	$common_fields = array(
		array('key','string','The key of the record, provided in the RIFCS &lt;key&gt; element '),
		array('fulltext','text_en_splitting','A full-text search of the entire record (and ANDS-inferred values)'),
		array('text','text_en_splitting','Legacy field of the fulltext field'),
		array('title','string','The record title as supplied in the record'),
		array('display_title', 'string', "The title of the record (built from it's nameParts)"),
		array('list_title', 'string', "The alternate title of the record used when the record is displayed in a list"),
		array('simplified_title', 'string', "The simplified title of the record used when the record has special characters and/or unicode chars"),
		array('alt_list_title', 'string', "The title of the record (when name part type is `alt`) as it is displayed in a list"),
		array('alt_display_title', 'string', "The title of the record (built from it's nameParts) when name part has type `alt`"),		
		array('description', 'text_en_splitting', "The description used for displaying search results."),
		array('class', 'string', "The class of the record (one of <code>collection</code>, <code>party</code>, <code>activity</code>, <code>service</code>)"),
		array('type', 'string', "The registryObject type attribute (i.e. <code>dataset</code> (collections) or <code>group</code> (for parties))"),
		array('group', 'string', "The group attribute of the registry object (usually the name of the institution/provider)"),
		array('update_timestamp', 'date', "The W3CDTF timestamp representing when the record was most recently updated"),
		array('slug', 'string', "The unique user-friendly URL <code>slug</code> which is appended to the base url of the portal."),
		array('contributor_page', 'string', "The slug of the contributor page of the data source that this record belongs to, if the slug is the same as the record, this indicate that the record is the contributor page"),
		array('logo','string','The logo of the record in the registry'),
		array('license_class','string','The license of the record'),
		array('originating_source','string','The originating source of the record'),
		array('status','string','The status of the record (note: only `PUBLISHED` records are indexed)'),
		array('record_created_timestamp','date','The timestamp of when the record was first ingested into the registry'),	
		array('record_modified_timestamp','date','The timestamp of when the record was last modified'),
	);

	$vocab_fields = array(
		array('subject_value_resolved','string','The resolved value of the subject (if any) (i.e. <code>MATHEMATICAL SCIENCES</code>).'),
		array('subject_value_unresolved','string','The subject value provided to ANDS (usually an anzsrc code in notation form (i.e. <code>020103</code>))'),
		array('subject_type','string','The type value of the subject (if any) (i.e. <code>anzsrc-for</code>).'),
		array('subject_vocab_uri','string','The resolved URI of the subject (if it is matched in a supported vocabulary).'),
	);

	$relation_fields = array(
		array('related_object_key','string','The key of records which this record relates to (note: does NOT include inferred/reverse links)'),
		array('related_object_id','string','The id of records which this record relates to (note: does NOT include inferred/reverse links)'),
		array('related_object_class','string','The class of records which this record relates to (provided they exist in the registry) (i.e. <code>collection</code>, <code>party</code>, <code>activity</code>, <code>service</code>).'),
		array('related_object_type','string','The type of records which this record relates to (provided they exist in the registry).'),
		array('related_object_display_title','string','The title for records which this record relates to (provided they exist in the registry)'),
		array('related_object_relation','string','The nature of the relation (i.e. <code>isPartOf</code>)'),
	);

	$other_fields = array(
		array('id','string','The unique registry id of the record (generated internally during the ingest process)'),
		array('description_value','text_en_splitting','The values of description elements in the record.'),
		array('description_type','string','The types of description elements in the record.'),
		array('identifier_value','string','The values of identifier elements in the record.'),
		array('identifier_type','string','The types of identifier elements in the record.'),
		array('spatial_coverage_extents','location_rpt','The extents of spatial coverage of this registry object (a bounding box on each of the spatial_coverage_polygons)'),
		array('spatial_coverage_centres','string','Lat,Long pairs of the centre of each spatial region'),
		array('spatial_coverage_polygons','string','Lat,Long pairs of spatial region points'),
		array('date_to','tdate','Dates related to the registry object indicating a "dateFrom" value'),
		array('date_from','tdate','Dates related to the registry object indicating a "dateTo" value'),
		array('earliest_year','sint','The year of the earliest date value (for temporal-based search)'),
		array('latest_year','sint','The year of the latest date value (for temporal-based search)'),
		array('tag','string','The tag assigned to the record.'),
		array('tag_type','string','A `public` or `secret` tag'),
		array('data_source_id','string','The unique registry id of the datasource (generated internally)'),
		array('data_source_key','string','The key of the datasource that provided the record'),
		array('matching_identifier_count','int','The number of other records with a matching identifier'),		
	);

	$search_fields = array(
		array('tag_sort','alphaOnlySort','Sorting of the tag field'),
		array('tag_search','text_en_splitting','Allows for greater search functionality of the tag field than a `string` type search.'),
		array('group_sort','alphaOnlySort','Sorting of the group field'),
		array('group_search','text_en_splitting','Allows for greater search functionality of the group field than a `string` type search.'),
		array('type_sort','alphaOnlySort','Sorting of the type field'),
		array('type_search','text_en_splitting','Allows for greater search functionality of the type field than a `string` type search.'),
		array('title_search','text_en_splitting','Allows for greater search functionality of the title field than a `string` type search.'),
		array('list_title_sort','alphaOnlySort','Sorting of the list_title field'),
		array('alt_title_search','text_en_splitting','Allows for greater search functionality of the alt_title field than a `string` type search.'),
		array('simplified_title_search','text_en_splitting','Allows for greater search functionality of the simplified_title field than a `string` type search.'),
		array('subject_value_resolved_sort','alphaOnlySort','Sorting of the subject_value_resolved field'),				
		array('subject_value_resolved_search','text_en_splitting','Allows for greater search functionality of the subject_value_resolved field than a `string` type search.'),
		array('s_subject_value_resolved','alphaOnlySort','Legacy field used for sorting of the subject_value_resolved field'),
		array('identifier_value_search','text_en_splitting','Allows for greater search functionality of the identifier_value field than a `string` type search.'),
		array('related_object_display_title_search','text_en_splitting','Allows for greater search functionality of the related_object_display_title field than a `string` type search.'),
		array('spatial_coverage_area_sum','sfloat','Used to sort spatial search by pushing larger polygons down in ranking'),		
	);
?>
			<h2 class="k-fancy-title">Common Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($common_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Vocabulary Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($vocab_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Relationship Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($relation_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Other Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($other_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

			<h2 class="k-fancy-title">Search and Sort Fields</h2>
			<table class="table table-striped table-bordered table-hover">
				<colgroup>
					<col class="col-lg-2"> <col class="col-lg-2"> <col class="col-lg-8">
				</colgroup>
				<thead><td>Field</td><td>Type</td><td>Description</td></thead>
				<tbody>
					<?php foreach($search_fields as $c): ?>
					<tr>
						<td><code><?php echo $c[0]; ?></code></td>
						<td><code><?php echo $c[1]; ?></code></td>
						<td><?php echo $c[2]; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>
		</article></div></div><!-- end row -->
	</div><!-- end container-->
</section>
<?php $this->load->view('developer_footer'); ?>
{'fraction_non_alphanumeric': 0.1738134887593672, 'fraction_numerical': 0.006973355537052456, 'mean_word_length': 4.849923896499239, 'pattern_counts': {'":': 0, '<': 471, '<?xml version=': 0, '>': 479, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2266197', 'n_tokens_mistral': 6706, 'n_tokens_neox': 5922, 'n_words': 1746}