Skip to content

Commit

Permalink
- Updated schema definitions corresponding to the new solr.war, not u…
Browse files Browse the repository at this point in the history
…sed by default though

git-svn-id: http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk@4546 49f50cf4-cce6-0310-bc1e-a21d999f3d8f
  • Loading branch information
Paul Borgermans committed Mar 24, 2010
1 parent d8ad2b0 commit 8e011a0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
8 changes: 7 additions & 1 deletion classes/ezfsolrdocumentfieldname.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,13 @@ static function getPostFix( $fieldType )
'keyword' => 'k',
'lckeyword' => 'lk',
'textgen' => 'tg',
'alphaOnlySort' => 'as');
'alphaOnlySort' => 'as',
'tint' => 'ti',
'tfloat' => 'tf',
'tdouble' => 'td',
'tlong' => 'tl',
'tdate' => 'tdt',
'geopoint' => 'gpt');

static $DefaultType = 'string';
static $PHPCreator = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Changes from 2.2.0-rc1 to 2.2.0-final

*Features:
- Updated solr.war to 1.5-dev (solr trunk rev 925669)
- Added additional schema definitions corresponding to the new solr.war (not used by default, for customisation)

*Bugs:
- Fixed bug #016372: deleting of content lasts very long (optional setting though)
Expand Down
12 changes: 12 additions & 0 deletions java/solr/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />

</types>
<!-- The geopoint type holds latitude / longitude information
implictely it holds several subfields-->
<fieldType name="geopoint" class="solr.PointType" dimension="2" subFieldTypes="double"/>



<fields>
Expand Down Expand Up @@ -507,6 +511,14 @@
<dynamicField name="*_random" type="random" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_k" type="keyword" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_lk" type="lckeyword" indexed="true" stored="true" multiValued="true"/>
<!-- some trie-coded dynamic fields for faster range queries -->
<dynamicField name="*_ti" type="tint" indexed="true" stored="true"/>
<dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/>
<dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/>
<dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/>
<dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/>
<!-- geopoint for geospatial/location searches, boosting, ... -->
<dynamicField name="*_gpt" type="geopoint" indexed="true" stored="true"/>


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

0 comments on commit 8e011a0

Please sign in to comment.