Skip to content
Snippets Groups Projects
Commit 5580aa60 authored by Demian Katz's avatar Demian Katz
Browse files

Schema improvements.

parent 979e34d0
No related merge requests found
......@@ -5,6 +5,7 @@
AllFields:
DismaxFields:
- title_unstemmed^800
- title^750
- description_unstemmed^350
- description^300
......@@ -14,6 +15,10 @@ AllFields:
- fulltext_unstemmed^10
- fulltext
QueryFields:
title_unstemmed:
- [onephrase, 1200]
- [and, 800]
- [or, 15]
title:
- [onephrase, 1000]
- [and, 750]
......
......@@ -104,7 +104,9 @@
<field name="spelling" type="textSpell" indexed="true" stored="true"/>
<field name="spellingShingle" type="textSpellShingle" indexed="true" stored="true" multiValued="true"/>
<field name="last_indexed" type="date" indexed="true" stored="true"/>
<field name="last_modified" type="date" indexed="true" stored="true"/>
<field name="title" type="text" indexed="true" stored="true"/>
<field name="title_unstemmed" type="textProper" indexed="true" stored="false"/>
<field name="title_sort" type="string" indexed="true" stored="false"/>
<field name="url" type="string" indexed="false" stored="true"/>
<field name="url_keywords" type="text" indexed="true" stored="false"/>
......@@ -147,6 +149,7 @@
<copyField source="category" dest="keywords_unstemmed" />
<copyField source="subject" dest="keywords_unstemmed" />
<copyField source="linktype" dest="keywords_unstemmed" />
<copyField source="title" dest="title_unstemmed"/>
<!-- Default Boolean Operator -->
<solrQueryParser defaultOperator="AND"/>
</schema>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment