Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eZ Find suggestion #182

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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