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

Refresh default schema #710

Closed
wants to merge 2 commits into from
Closed
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
12 changes: 6 additions & 6 deletions priv/default_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
-->

<schema name="default" version="1.5">
<fields>

<!-- TODO: is this needed? -->
<field name="_version_" type="long" indexed="true" stored="true"/>

<field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>

<dynamicField name="*_i" type="int" indexed="true" stored="true" multiValued="false"/>
<dynamicField name="*_is" type="int" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_l" type="long" indexed="true" stored="true" multiValued="false"/>
Expand Down Expand Up @@ -134,11 +131,15 @@

<!-- Flag indicating if this doc is the product of a failed object extraction -->
<field name="_yz_err" type="_yz_str" indexed="true" stored="false" multiValued="false"/>
</fields>

<uniqueKey>_yz_id</uniqueKey>

<types>
<!-- Enable only if the client does not know what fields may be
searched because it's very expensive to index everything
twice. -->
<!-- <field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/> -->
<!-- <copyField source="*" dest="_text_"/> -->

<!-- YZ String: Used for non-analyzed fields -->
<fieldType name="_yz_str" class="solr.StrField" sortMissingLast="true" />

Expand Down Expand Up @@ -803,6 +804,5 @@
<filter class="solr.SnowballPorterFilterFactory" language="Turkish"/>
</analyzer>
</fieldType>
</types>

</schema>