Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions classes/ezfsolrdocumentfieldname.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ static function getPostFix( $fieldType )
'tlong' => 'tl',
'tdate' => 'tdt',
'geopoint' => 'gpt',
'location' => 'loc',
'geohash' => 'gh',
'mstring' => 'ms',
'mtext' => 'mt',
Expand Down
2 changes: 1 addition & 1 deletion classes/ezsolrdoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function docToXML()

if ($this->DocBoost !== null && is_numeric( $this->DocBoost ) )
{
$this->DomRootElement->setAttribute( 'boost', $this->DocBoost );
$this->DomRootElement->setAttribute( 'boost', number_format( $this->DocBoost, 2, '.', '' ) );
}

foreach ($this->Doc as $name => $field) {
Expand Down
3 changes: 3 additions & 0 deletions java/solr/ezp-default/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,9 @@
<dynamicField name="*___sort_field_ms" type="mstring" indexed="true" stored="true" multiValued="true"/> <!-- Location sort field -->
<dynamicField name="*___sort_order_ms" type="mstring" indexed="true" stored="true" multiValued="true"/> <!-- Location sort order -->
<dynamicField name="*___view_count_si" type="sint" indexed="true" stored="true" multiValued="true"/> <!-- View count -->
<dynamicField name="*____loc" type="location" indexed="true" stored="true"/>
<dynamicField name="*____loc_0_coordinate" type="double" indexed="true" stored="true"/>
<dynamicField name="*____loc_1_coordinate" type="double" indexed="true" stored="true"/>


<field name="ezf_df_text" type="text" indexed="true" stored="true" multiValued="true" termVectors="true"/>
Expand Down